Kamil Braun
4dfb7e3051
Merge 'storage_service::merge_topology_snapshot: handle big mutations' from Petr Gusev
...
The group0 state machine calls `merge_topology_snapshot` from
`transfer_snapshot`. It feeds it with `raft_topology_snapshot` returned
from `raft_pull_topology_snapshot`. This snapshot includes the entire
`system.cdc_generations_v3` table. It can be huge and break the
commitlog `max_record_size` limit.
The `system.cdc_generations_v3` is a single-partition table, so all the
data is contained in one mutation object. To fit the commitlog limit we
split this mutation into many smaller ones and apply them in separate
`database::apply` calls. That means we give up the atomicity guarantee,
but we actually don't need it for `system.cdc_generations_v3` and
`system.topology_requests`.
This PR fixes the dtest
`update_cluster_layout_tests.py::TestLargeScaleCluster::test_add_many_nodes_under_load`
Fixes scylladb/scylladb#17545
Closes scylladb/scylladb#17632
* github.com:scylladb/scylladb:
test_cdc_generation_data: test snapshot transfer
storage_service::merge_topology_snapshot: handle big cdc_generations_v3 mutations
mutation: add split_mutation function
storage_service::merge_topology_snapshot: fix indentation
2024-03-21 10:50:03 +01: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-03-01 16:25:14 +01: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-23 10:52:12 +08:00
2024-02-02 22:12:57 +08: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-02-02 22:12:57 +08:00
2024-02-21 19:38:53 +02:00
2024-03-13 09:29:00 +02:00
2024-01-24 10:37:39 +01:00
2024-02-02 22:12:57 +08:00
2024-03-18 13:37:44 +02:00
2024-02-06 13:22:16 +02:00
2024-01-11 08:37:56 +02: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-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-03-20 09:16:46 +02:00
2024-02-06 13:22:16 +02:00
2024-02-27 02:27:55 -05: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-03-15 09:40:22 +02:00
2024-03-11 19:30:19 +03:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-03-05 14:00:13 +08:00
2024-02-06 13:22:16 +02: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-02-22 17:53:34 +08:00
2024-03-17 16:58:39 +02:00
2024-02-02 22:12:57 +08:00
2023-12-14 16:54:04 +01: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-02-02 22:12:57 +08: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-03-15 11:05:29 +01: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-06 13:22:16 +02:00
2024-03-20 09:16:46 +02:00
2024-02-06 13:22:16 +02:00
2024-03-13 08:52:46 +02:00
2024-03-13 08:52:46 +02:00
2024-03-20 22:39:51 +04:00
2024-02-07 09:21:24 +02:00
2024-02-07 18:31:36 +01:00
2024-03-12 14:53:55 +08:00
2024-02-21 19:43:17 +02:00
2024-02-06 13:22:16 +02:00
2024-02-21 00:24:25 +02:00
2024-01-11 14:33:47 +08:00
2024-02-21 00:24:25 +02:00
2024-02-06 13:22:16 +02:00
2024-03-11 11:37:48 +02:00
2024-03-11 09:55:51 +02: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-03-01 16:25:14 +01:00
2024-03-13 08:52:46 +02:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-01-04 03:20:17 -05:00
2024-02-02 22:12:57 +08:00
2024-02-02 22:12:57 +08: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-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-03-12 11:05:18 -04: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
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
2024-02-06 13:22:16 +02:00
2024-02-02 22:12:57 +08:00
2024-03-12 19:10:44 +03:00
2024-02-06 13:22:16 +02:00
2024-01-24 10:37:39 +01:00
2024-02-06 13:22:16 +02:00
2024-03-21 10:19:46 +01:00
2024-02-02 22:12:57 +08:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2023-12-02 22:37:22 +02: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-21 19:43:17 +02:00
2024-02-02 22:12:57 +08: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-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-06 13:22:16 +02:00
2024-02-21 19:43:17 +02:00