Abhinav Jha
43656371cf
raft_topology: Modify the conditional logic in remove node operation to enhance concurrency for raft enabled clusters.
...
In the current scenario, the shard receiving the remove node REST api request
performs condional lock depending on whether raft is enabled or not. Since
non-zero shard returns false for `raft_topology_change_enabled()`, the requests
routed to non zero shards are prone to this lock which is unnecessary and
hampers the ability to perform concurrent operations, which is possible for
raft enabled nodes.
This pr modifies the conditional lock logic and orchestrates the remove node
execution logic directly to the shard0, hence the `raft_topology_change_enabled()` is
now checked on the shard0 and execution is performed accordingly.
A test is also added to confirm the new behaviour, where concurrent remove
node operations are now being performed seamlessly.
This pr doesn't fix a critical bug. No need to backport it.
Fixes : scylladb/scylladb#24737
2025-09-17 15:23:32 +05:30
..
2025-08-26 18:41:40 +02:00
2025-09-12 15:58:19 +03:00
2025-08-27 10:23:04 +02:00
2025-07-15 10:10:23 +03:00
2025-07-24 19:48:09 +02:00
2025-08-11 10:10:07 +08:00
2025-08-22 09:51:24 +03:00
2025-08-28 01:42:34 +02:00
2025-03-30 19:23:40 +03:00
2025-08-04 15:38:16 +03:00
2025-03-30 19:23:40 +03:00
2025-04-25 12:25:15 +02:00
2025-07-07 12:24:05 +03:00
2025-03-24 14:54:45 +02:00
2025-07-10 10:56:53 +08: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-07-17 17:16:17 +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-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-05-10 16:30:18 +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-09-08 09:18:20 +02:00
2025-09-09 06:50:21 +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-07-29 15:37:47 +02:00
2025-08-22 09:51:24 +03:00
2025-05-19 11:50:55 +00:00
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-05-10 16:30:26 +02:00
2025-03-30 19:23:40 +03:00
2025-03-24 14:54:45 +02:00
2025-09-11 08:56:34 +03:00
2025-03-24 14:54:45 +02:00
2025-08-07 11:20:00 +02:00
2025-08-07 11:20:00 +02:00
2025-03-24 14:54:45 +02:00
2025-03-24 14:54:45 +02:00
2025-08-22 10:09:37 +03: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-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-05-10 16:30:18 +02:00
2025-06-25 11:30:28 +03:00
2025-06-02 15:49:29 +02:00
2025-04-29 15:47:33 -03:00
2025-07-11 16:30:46 +02: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-09-07 05:20:23 -03:00
2025-08-27 10:23:04 +02:00
2025-05-10 16:30:18 +02:00
2025-09-01 14:31:04 +03:00
2025-08-22 10:19:43 +03:00
2025-09-11 13:19:56 +02:00
2025-05-10 16:30:49 +02:00
2025-09-02 00:02:14 +02:00
2025-05-10 16:30:18 +02:00
2025-05-10 16:30:18 +02: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-03-24 14:54:45 +02: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-08-27 10:23:04 +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-09-09 19:01:09 +02:00