Files
scylladb/db
Michał Jadwiszczak 67ba46d7ea db/view/view_building_worker: don't organize staging sstables by last token
There was a problem with staging sstables after tablet merge.
Let's say there were 2 tablets and tablet 1 (lower last token)
had an staging sstable. Then a tablet merge occured, so there is only
one tablet now (higher last token).
But entries in `_staging_sstables`, which are grouped by last token, are
never adjusted.

Since there shouldn't be thousands of sstables, we can just hold list of
sstables per table and filter necessary entries when doing
`process_staging` view building task.

(cherry picked from commit 2e8c096930)
2025-11-17 10:28:35 +00:00
..
2025-01-28 21:14:49 +01:00
2025-09-16 14:49:54 +02:00