mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
ensure_population_lower_bound() returned true if current clustering range covers all rows, which means that the populator has a right to set continuity flag to true on the row it inserts. This is correct only if the current population range actually starts since before all clustering rows. Otherwise we're populating since _last_row, and should consult it. The fix introduces a new flag, set when starting to populte, which indicates if we're populating from the beginning of the range or not. We cannot simply check if _last_row is set in ensure_population_lower_bound() because _last_row can be set and then become empty again. Fixes #3608
29 KiB
29 KiB