sstables_loader_helpers: just reformat the code

Reformat get_sstables_for_tablet to wrap extremely long line
This commit is contained in:
Ernest Zaslavsky
2026-02-23 17:35:36 +02:00
committed by Pavel Emelyanov
parent ff1810b0ce
commit b658d1ca3f

View File

@@ -34,9 +34,8 @@ struct minimal_sst_info {
future<minimal_sst_info> download_sstable(replica::database& db, replica::table& table, sstables::shared_sstable sstable, logging::logger& logger);
template <std::ranges::input_range Range, typename T = std::ranges::range_value_t<Range>>
seastar::future<std::tuple<std::vector<T>, std::vector<T>>> get_sstables_for_tablet(Range&& ranges,
const dht::token_range& token_range,
auto&& get_first, auto&& get_last) {
seastar::future<std::tuple<std::vector<T>, std::vector<T>>>
get_sstables_for_tablet(Range&& ranges, const dht::token_range& token_range, auto&& get_first, auto&& get_last) {
std::vector<T> fully_contained;
std::vector<T> partially_contained;
for (const auto& range : ranges) {