mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 16:40:35 +00:00
The test performs an `INSERT` followed by a `SELECT`, checking if the previously inserted data is returned. This may fail because we're using `ring_delay = 0` in tests and the two queries may arrive at different nodes, whose `token_metadata` didn't converge yet (it's eventually consistent based on gossiping). I illustrated this here: https://github.com/scylladb/scylladb/issues/12937#issuecomment-1536147455 Ensure that the nodes' token rings are synchronized (by waiting until the token ring members on each node is the same as group 0 configuration). Fixes #12937 Closes #13791