You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CNDB-14353: fetch non-compacting sstables instead of live sstables for UCS (#1861)
This is to fix a race in UCS:
1. sstable-1 is compacting
2. 2nd compaction thread fetches live sstable which includes sstable-1
3. sstable-1 is now compacted, no longer as compacting in Tracker
4. 2nd compaction thread continues: UCS#getCompactionArenas fetches list
of compacting sstables which doesn't include sstable-1
5. sstable-1 is now included for next compaction but failed to create
txn because it's already compacted
use non-compacting sstables instead of live sstables, so there won't be race
0 commit comments