mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 18:10:39 +00:00
Take advantage of the facts that both the owned ranges and the initial non_owned_ranges (derived from the set of sstables) are deoverlapped and sorted by start token to turn the calculation of the final non_owned_ranges from quadratic to linear. Fixes #11922 Closes #11903 * github.com:scylladb/scylladb: dht: optimize subtract_ranges compaction: refactor dht::subtract_ranges out of get_ranges_for_invalidation compaction_manager: needs_cleanup: get first/last tokens from sstable decorated keys