mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
The test was racing move_tablet against restore_tablets without ensuring that move_tablet had actually reached the streaming phase before restore began. This caused restore to win the group0 race, putting the tablet into transition first, which made move_tablet fail with "Tablet is in transition". Fix by adding a log message to the block_tablet_streaming error injection and waiting for it in the test, ensuring the move has entered the streaming phase (and is blocked) before restore starts. Fixes: https://scylladb.atlassian.net/browse/SCYLLADB-2147 Closes scylladb/scylladb#30173