Tomasz Grabiec
564cebd0e6
Merge 'tablet_metadata_guard: fix split/merge handling' from Petr Gusev
...
The guard should stop refreshing the ERM when the number of tablets changes. Tablet splits or merges invalidate the `tablet_id` field (`_tablet`), which means the guard can no longer correctly protect ongoing operations from tablet migrations.
The problem is specific to LWT, since `tablet_metadata_guard` is used mostly for heavy topology operations, which exclude with split and merge. The guard was used for LWT as an optimization -- we don't need to block topology operations or migrations of unrelated tablets. In the future, we could use the guard for regular reads/writes as well (via the `token_metadata_guard` wrapper).
Fixes [scylladb/scylladb#26437 ](https://github.com/scylladb/scylladb/issues/26437 )
backports: need to backport to 2025.4 since the bug is relevant to LWT over tablets.
Closes scylladb/scylladb#26619
* github.com:scylladb/scylladb:
test_tablets_lwt: add test_tablets_merge_waits_for_lwt
test.py: add universalasync_typed_wrap
tablet_metadata_guard: fix split/merge handling
tablet_metadata_guard: add debug logs
paxos_state: shards_for_writes: improve the error message
storage_service: barrier_and_drain – change log level to info
topology_coordinator: fix log message
2025-10-22 20:56:21 +02:00
..
2025-10-08 08:25:33 +02:00
2025-09-30 16:57:32 +03:00
2025-09-18 08:11:12 +03:00
2025-10-16 14:07:37 +02:00
2025-10-13 08:53:27 +00:00
2025-10-01 09:01:50 +02:00
2025-08-11 10:10:07 +08:00
2025-09-15 12:34:45 +02:00
2025-09-29 12:39:53 +02:00
2025-03-30 19:23:40 +03:00
2025-09-25 14:00:16 +03:00
2025-03-30 19:23:40 +03:00
2025-04-25 12:25:15 +02:00
2025-09-23 07:48:59 +02:00
2025-03-24 14:54:45 +02:00
2025-07-10 10:56:53 +08:00
2025-10-09 13:22:06 +03:00
2025-06-09 12:59:04 +02:00
2025-07-25 17:16:14 +02:00
2025-05-30 08:35:56 +02:00
2025-09-17 14:47:13 +02:00
2025-09-17 14:47:13 +02:00
2025-05-10 16:30:18 +02:00
2025-09-09 19:01:12 +02:00
2025-05-10 16:30:18 +02:00
2025-03-30 19:23:40 +03:00
2025-03-30 19:23:40 +03:00
2025-06-23 17:56:26 +02:00
2025-05-10 16:30:18 +02:00
2025-05-19 11:50:55 +00:00
2025-09-09 19:01:12 +02:00
2025-05-10 16:30:18 +02:00
2025-09-09 19:01:12 +02:00
2025-07-01 12:58:02 +02:00
2025-10-22 01:13:43 +03:00
2025-03-24 14:54:45 +02:00
2025-09-15 12:34:45 +02:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-09-08 11:38:31 +02:00
2025-04-06 18:39:24 +03:00
2025-09-08 11:38:30 +02:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-10-22 01:13:43 +03:00
2025-10-10 15:21:54 +03:00
2025-08-22 09:51:24 +03:00
2025-08-28 01:42:34 +02:00
2025-09-08 17:14:37 +02:00
2025-10-22 01:13:43 +03:00
2025-08-22 09:51:24 +03:00
2025-10-17 22:57:05 +05:30
2025-08-22 09:51:24 +03:00
2025-08-22 11:33:32 +02:00
2025-03-30 19:23:40 +03:00
2025-03-30 19:23:40 +03:00
2025-04-17 16:22:58 +02:00
2025-08-22 09:51:24 +03:00
2025-08-04 15:38:16 +03:00
2025-08-10 10:16:00 +02:00
2025-09-23 00:30:37 +02:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-10-10 15:22:39 +03:00
2025-03-24 14:54:45 +02:00
2025-10-07 17:48:55 +02:00
2025-10-17 10:54:05 +03:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-10-07 17:48:55 +02:00
2025-08-22 09:51:24 +03:00
2025-03-30 19:23:40 +03:00
2025-06-27 16:23:08 +03:00
2025-05-29 16:12:09 +03:00
2025-05-10 16:30:18 +02:00
2025-08-21 11:48:17 +03:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-05-19 11:50:55 +00:00
2025-10-17 11:52:11 +02:00
2025-03-30 13:39:40 +03:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02:00
2025-07-10 10:46:55 +02:00
2025-09-11 08:55:10 +03:00
2025-09-26 12:02:42 +03:00
2025-05-10 16:30:18 +02:00
2025-10-10 14:27:02 +03:00
2025-09-15 12:34:45 +02:00
2025-04-29 15:47:33 -03:00
2025-09-19 12:50:20 +03:00
2025-04-23 14:29:28 +02:00
2025-07-29 13:43:53 +08:00
2025-07-31 14:31:55 +03:00
2025-10-21 09:43:38 +03:00
2025-08-27 10:23:04 +02:00
2025-05-10 16:30:18 +02:00
2025-10-22 11:33:20 +02:00
2025-09-29 15:30:13 +03:00
2025-09-11 13:19:56 +02:00
2025-05-10 16:30:49 +02:00
2025-10-22 11:32:37 +02:00
2025-05-10 16:30:18 +02:00
2025-10-22 16:40:11 +03:00
2025-03-24 14:54:45 +02:00
2025-09-09 19:01:12 +02:00
2025-09-09 19:01:12 +02:00
2025-09-01 14:16:29 +02:00
2025-08-22 09:51:24 +03:00
2025-03-30 19:23:40 +03:00
2025-09-17 15:23:32 +05:30
2025-03-24 14:54:45 +02:00
2025-03-30 19:23:40 +03:00
2025-05-10 16:30:18 +02:00
2025-03-24 14:54:45 +02:00
2025-10-22 01:13:43 +03:00
2025-03-24 14:54:45 +02:00
2025-08-05 13:54:14 +02:00
2025-09-03 07:25:34 +03:00
2025-06-11 11:29:33 +03:00
2025-07-22 15:03:30 +02:00
2025-08-27 10:23:04 +02:00
2025-10-16 14:07:37 +02:00
2025-07-28 10:08:06 +02:00
2025-08-22 09:51:24 +03:00
2025-08-22 09:51:24 +03:00
2025-05-10 16:30:34 +02:00
2025-10-08 08:24:43 +02:00