mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-02 22:25:48 +00:00
Refactor the way we decide the sstable belong to a tablet, fully or partially to simplify the flow and make it more readable. Also extract the logic and make it testable, add tests to cover changes The change is purely aesthetic, no need to backport Closes scylladb/scylladb#27101 * github.com:scylladb/scylladb: streaming: remove unnecessary lambda creating sstable token range streaming: simplify get_sstables_for_tablets logic streaming: switch to range-based for loop streaming: drop sstable skip microoptimization in tablet loop streaming: replace reverse iterators with reverse view in sstables scan streaming: return from get_sstables_for_tablets earlier streaming: add get_sstables_by_tablet_range tests test,sstables: add helper to set sstable first and last keys streaming: refactor get_sstables_for_tablets to make it accessible streaming: refactor get_sstables_for_tablets to make it testable streaming: refactor tablet_sstable_streamer::stream by extracting SST filtering logic