mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 12:36:56 +00:00
Implement the wait for gossip to settle logic in the bootup process. CASSANDRA-4288 Fixes: bootstrap_test.py:TestBootstrap.shutdown_wiped_node_cannot_join_test 1) start node2 2) wait for cql connection with node2 is ready 3) stop node2 4) delete data and commitlog directory for node2 5) start node2 In step 5, sometimes I saw in shadow round of node2, it gets node2's status as BOOT from other nodes in the cluster instead of NORMAL. The problem is we do not wait for gossip to settle before we start cql server, as a result, when we stop node2 in step 3), other nodes in the cluster have not got node2's status update to NORMAL.