Emil Maskovsky
5dac4b38fb
test/gossiper: add reproducible test for race condition during node decommission
...
This change introduces a targeted test that simulates the gossiper race
condition observed during node decommissioning. The test delays gossip
state application and host ID lookup to reliably reproduce the scenario
where `gossiper::get_host_id()` is called on a removed endpoint,
potentially triggering an abort in `apply_new_states`.
There is a specific error injection added to widen the race window, in
order to increase the likelihood of hitting the race condition. The
error injection is designed to delay the application of gossip state
updates, for the specific node that is being decommissioned. This should
then result in the server abort in the gossiper.
Refs: scylladb/scylladb#25621
Fixes : scylladb/scylladb#25721
Backport: The test is primarily for an issue found in 2025.1, so it
needs to be backported to all the 2025.x branches.
Closes scylladb/scylladb#25685
2025-09-01 13:59:47 +02:00
..
2025-08-26 18:41:40 +02:00
2025-08-22 11:30:10 +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-18 09:42:13 +00: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-08-13 10:32:22 +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-05-10 16:30:18 +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-04-06 18:39:24 +03:00
2025-09-01 13:59:47 +02: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-08-18 11:01:22 +08:00
2025-08-22 09:51:24 +03: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-08-08 19:48:58 +02: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-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-08-10 10:16:00 +02: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-07-31 14:31:55 +03:00
2025-05-10 16:30:49 +02:00
2025-08-27 10:23:04 +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-05-10 16:30:49 +02:00
2025-05-10 16:30:49 +02:00
2025-08-22 09:51:24 +03:00
2025-08-22 09:51:24 +03: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-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-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-06-25 12:00:16 +03:00