mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 14:03:06 +00:00
Consider this: 1) Write partition_start of p1 2) Write clustering_row of p1 3) Write partition_end of p1 4) Repair is stopped due to error before writing partition_start of p2 5) Repair calls repair_row_level_stop() to tear down which calls wait_for_writer_done(). A duplicate partition_end is written. To fix, track the partition_start and partition_end written, avoid unpaired writes. Backports: 3.1 and 3.2 Fixes: #5527