Tomasz Grabiec
6946ad2a45
sharding: Prepare for intra-node-migration
...
Tablet sharder is adjusted to handle intra-migration where a tablet
can have two replicas on the same host. For reads, sharder uses the
read selector to resolve the conflict. For writes, the write selector
is used.
The old shard_of() API is kept to represent shard for reads, and new
method is introduced to query the shards for writing:
shard_for_writes(). All writers should be switched to that API, which
is not done in this patch yet.
The request handler on replica side acts as a second-level
coordinator, using sharder to determine routing to shards. A given
sharder has a scope of a single topology version, a single
effective_replication_map_ptr, which should be kept alive during
writes.
2024-05-16 00:28:46 +02:00
..
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-01-15 13:26:39 +02:00
2024-04-25 14:33:21 +02:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-04-19 22:56:16 +08:00
2024-04-19 07:44:07 +03:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-05-02 19:37:04 +03:00
2024-02-06 13:22:16 +02:00
2023-09-18 23:17:01 +03:00
2024-04-19 22:57:36 +08:00
2024-02-02 22:12:57 +08:00
2024-04-11 14:34:50 +03:00
2024-04-11 14:34:48 +03:00
2024-02-21 19:38:53 +02:00
2024-03-13 09:29:00 +02:00
2024-05-10 15:08:21 +02:00
2024-02-02 22:12:57 +08:00
2024-03-18 13:37:44 +02:00
2024-04-26 14:45:29 +02:00
2024-01-11 08:37:56 +02:00
2024-05-05 15:39:57 +03:00
2024-04-19 22:56:16 +08:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-05-10 14:56:38 +02:00
2024-02-06 13:22:16 +02:00
2024-04-26 14:45:29 +02:00
2024-02-06 13:22:16 +02:00
2024-04-23 16:28:25 +03:00
2024-02-06 13:22:16 +02:00
2024-01-18 12:50:06 +02:00
2023-12-02 22:37:22 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 07:44:07 +03:00
2024-03-21 14:35:38 +01:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:57:36 +08:00
2024-05-05 23:31:48 +03:00
2024-03-13 08:52:46 +02:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-05-02 19:27:56 +03:00
2024-03-17 16:58:39 +02:00
2024-04-19 22:56:16 +08:00
2024-04-19 22:56:16 +08:00
2024-01-11 08:37:56 +02:00
2024-01-29 09:59:30 +02:00
2024-02-06 13:22:16 +02:00
2024-05-05 23:31:48 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-04-25 16:03:01 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:56:16 +08:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:56:16 +08:00
2024-04-19 22:57:36 +08:00
2024-03-13 08:52:46 +02:00
2024-05-05 23:31:48 +03:00
2024-05-02 18:45:24 +03:00
2024-04-19 22:56:16 +08:00
2024-02-07 18:31:36 +01:00
2024-04-19 22:57:36 +08:00
2024-02-21 19:43:17 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:57:36 +08:00
2024-01-11 14:33:47 +08:00
2024-04-19 22:56:16 +08:00
2024-02-06 13:22:16 +02:00
2024-03-11 11:37:48 +02:00
2024-04-30 01:31:08 -04:00
2024-04-04 16:03:05 +02:00
2024-04-19 22:56:16 +08:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:57:36 +08:00
2024-04-19 22:56:16 +08:00
2024-02-02 22:12:57 +08:00
2024-04-25 14:33:21 +02:00
2024-02-06 13:22:16 +02:00
2024-01-04 03:20:17 -05:00
2024-03-26 15:31:18 +02:00
2024-05-05 23:31:48 +03:00
2023-12-05 15:18:11 +02:00
2024-02-06 13:22:16 +02:00
2023-12-05 14:09:34 +01:00
2024-04-19 22:57:36 +08:00
2024-02-06 13:22:16 +02:00
2024-05-10 14:56:38 +02:00
2024-05-10 14:56:38 +02:00
2024-04-02 09:25:06 +03:00
2024-05-09 19:57:40 +05:30
2024-05-09 17:48:58 +05:30
2023-12-05 08:25:04 +03:00
2024-02-02 22:12:57 +08:00
2024-02-21 19:43:17 +02:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08:00
2023-10-04 18:50:23 +02:00
2024-04-17 07:12:39 +03:00
2024-05-10 14:56:38 +02:00
2024-02-02 22:12:57 +08:00
2024-04-19 22:56:16 +08:00
2024-05-03 11:34:23 +03:00
2024-01-24 10:37:39 +01:00
2024-02-06 13:22:16 +02:00
2024-05-16 00:28:46 +02:00
2024-04-19 22:57:36 +08:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-03-26 13:38:37 +08:00
2024-04-19 22:56:16 +08:00
2024-04-19 22:56:16 +08:00
2024-03-26 13:38:37 +08:00
2024-05-05 23:31:48 +03:00
2024-05-10 14:56:38 +02:00
2024-05-05 23:31:48 +03:00
2024-05-05 23:31:48 +03:00
2024-05-05 23:31:48 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-04-19 22:57:36 +08:00