mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 02:50:33 +00:00
Regression test for #14257. It starts two nodes. It introduces a sleep in raft_group_registry::on_alive (in raft_group_registry.cc) when receiving a gossip notification about HOST_ID update from the second node. Then it restarts the second node with a different IP. Due to the sleep, the old notification from the old IP arrives after the second node has restarted. If the bug is present, this notification overrides the address map entry and the second read barrier times out, since the first node cannot reach the second node with the old IP. Closes #14609. Closes #14728