Tomasz Grabiec
ff52527c54
Merge 'repair: do_rebuild_replace_with_repair: use source_dc only when safe' from Benny Halevy
...
It is unsafe to restrict the sync nodes for repair to the source data center if it has too low replication factor in network_topology_replication_strategy, or if other nodes in that DC are ignored.
Also, this change restricts the usage of source_dc to `network_topology` and `everywhere_topology`
strategies, as with simple replication strategy
there is no guarantee that there would be any
more replicas in that data center.
Fixes #16826
Reproducer submitted as https://github.com/scylladb/scylla-dtest/pull/3865
It fails without this fix and passes with it.
* Requires backport to live versions. Issue hit in the filed with 2022.2.14
Closes scylladb/scylladb#16827
* github.com:scylladb/scylladb:
repair: do_rebuild_replace_with_repair: use source_dc only when safe
repair: replace_with_repair: pass the replace_node downstream
repair: replace_with_repair: pass ignore_nodes as a set of host_id:s
repair: replace_rebuild_with_repair: pass ks_erms from caller
nodetool: rebuild: add force option
Add and use utils::optional_param to pass source_dc
2024-08-20 16:13:23 +02:00
..
2023-09-11 14:38:46 +03:00
2024-06-18 23:36:30 +05:30
2024-08-15 20:16:35 +03:00
2024-07-08 16:08:27 +02:00
2024-01-18 12:50:06 +02:00
2023-04-27 10:24:46 +03:00
2023-12-02 22:37:22 +02:00
2023-12-02 22:37:22 +02:00
2024-08-05 08:23:35 +03:00
2023-09-04 16:14:38 +03:00
2023-04-17 11:14:45 +03:00
2023-04-17 11:16:45 +03:00
2024-01-18 12:50:06 +02:00
2024-08-05 08:23:35 +03:00
2024-04-19 07:44:07 +03:00
2023-12-12 21:09:51 +08:00
2023-03-24 15:41:45 +08:00
2024-08-05 08:23:35 +03:00
2024-06-24 12:06:01 +05:30
2024-06-24 12:06:01 +05:30
2024-08-05 08:23:35 +03:00
2023-05-07 17:17:34 +03:00
2024-08-05 08:23:35 +03:00
2023-09-01 22:34:41 +02:00
2024-08-19 14:01:42 +03:00
2024-06-25 12:08:06 +03:00
2024-01-31 16:45:09 +02:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-07-18 18:38:22 +03:00
2024-06-27 19:36:13 +03:00
2024-06-27 19:36:13 +03:00
2024-01-18 12:50:06 +02:00
2024-01-18 12:50:06 +02:00
2024-08-05 08:23:35 +03:00
2023-12-20 10:25:03 +02:00
2024-05-18 00:24:00 +03:00
2024-05-18 00:24:00 +03:00
2024-04-19 22:56:16 +08:00
2024-02-01 12:20:23 +05:30
2024-08-11 13:52:35 +03:00
2024-05-26 16:45:42 +03:00
2024-08-04 15:32:01 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-07-10 20:39:01 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-04-19 07:44:07 +03:00
2024-01-18 12:50:06 +02:00
2024-02-01 14:50:17 +02:00
2024-05-26 16:45:42 +03:00
2024-08-05 08:23:35 +03:00
2024-02-02 15:20:40 +01:00
2024-08-05 08:23:35 +03:00
2024-04-19 07:44:07 +03:00
2023-11-21 08:42:33 +00:00
2023-04-24 14:06:43 +03:00
2023-04-24 14:06:40 +03:00
2024-05-27 17:34:38 +03:00
2024-01-23 13:12:34 +02:00
2023-02-14 19:22:19 +08:00
2024-07-09 18:31:35 +03:00
2024-03-12 14:53:55 +08:00
2024-04-19 07:44:07 +03:00
2024-08-05 08:23:35 +03:00
2024-06-24 12:06:01 +05:30
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2023-04-21 14:28:18 +03:00
2024-08-05 08:23:35 +03:00
2023-09-05 20:50:42 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2023-04-27 10:24:46 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-02-23 11:32:41 +08:00
2024-04-19 22:56:13 +08:00
2023-11-20 23:02:41 +02:00
2024-07-04 10:07:48 +03:00
2023-12-02 22:37:22 +02:00
2023-04-27 10:24:46 +03:00
2024-06-24 08:24:43 +03:00
2024-06-24 08:24:43 +03:00
2024-02-09 17:00:33 +01:00
2022-11-28 21:58:30 +02:00
2024-01-31 16:45:09 +02:00
2024-08-05 08:23:35 +03:00
2024-02-07 18:31:28 +01:00
2024-08-05 08:23:35 +03:00
2024-01-31 09:16:10 +02:00
2023-12-02 22:37:22 +02:00
2023-02-03 19:04:32 +01:00
2024-02-02 22:12:57 +08:00
2024-08-05 08:23:35 +03:00
2024-08-05 08:23:35 +03:00
2024-08-05 00:35:52 +03:00
2024-08-05 08:23:35 +03:00
2023-06-26 11:10:38 +03:00
2023-05-21 11:33:38 +04:00
2024-01-18 12:50:06 +02:00
2023-05-11 16:31:23 +03:00
2023-04-24 14:06:43 +03:00
2024-04-19 22:57:36 +08:00
2024-08-08 10:42:09 +02:00
2024-06-18 23:36:30 +05:30
2024-08-15 02:12:58 +02:00
2024-08-05 08:23:35 +03:00
2024-08-19 17:20:12 +03:00
2024-04-23 12:09:05 +03:00
2024-08-05 08:23:35 +03:00
2023-06-15 15:52:50 +04:00
2023-01-27 19:15:39 +01:00
2023-12-02 22:37:22 +02:00
2024-08-19 17:20:12 +03:00
2023-12-02 22:37:22 +02:00
2024-04-30 09:07:22 +03:00
2024-08-05 08:23:35 +03:00
2024-02-01 10:27:55 +02:00
2024-08-05 08:23:35 +03:00
2024-08-13 10:02:43 +02:00
2024-05-18 00:24:00 +03:00