From 1150f7cf246aefea7f0e643a094f03ee4857a169 Mon Sep 17 00:00:00 2001 From: Ernest Zaslavsky Date: Mon, 23 Feb 2026 17:06:03 +0200 Subject: [PATCH] sstables_loader_helpers: remove underscores from struct members Remove underscores from minimal_sst_info struct members to comply with our coding guidelines. --- sstables_loader.cc | 4 ++-- sstables_loader_helpers.hh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sstables_loader.cc b/sstables_loader.cc index a631253a00..2dff4c8f6f 100644 --- a/sstables_loader.cc +++ b/sstables_loader.cc @@ -219,7 +219,7 @@ private: auto& table = db.find_column_family(ks, cf); auto& sst_manager = table.get_sstables_manager(); auto sst = sst_manager.make_sstable( - table.schema(), table.get_storage_options(), min_info._generation, sstables::sstable_state::normal, min_info._version, min_info._format); + table.schema(), table.get_storage_options(), min_info.generation, sstables::sstable_state::normal, min_info.version, min_info.format); sst->set_sstable_level(0); auto units = co_await sst_manager.dir_semaphore().get_units(1); sstables::sstable_open_config cfg { @@ -258,7 +258,7 @@ private: sst_classification_info downloaded_sstables(smp::count); for (const auto& sstable : sstables) { auto min_info = co_await download_sstable(_db.local(), _table, sstable, llog); - downloaded_sstables[min_info._shard].emplace_back(min_info); + downloaded_sstables[min_info.shard].emplace_back(min_info); } co_return downloaded_sstables; } diff --git a/sstables_loader_helpers.hh b/sstables_loader_helpers.hh index 0332b6b7b9..d00812cb8c 100644 --- a/sstables_loader_helpers.hh +++ b/sstables_loader_helpers.hh @@ -25,10 +25,10 @@ class database; } // namespace replica struct minimal_sst_info { - shard_id _shard; - sstables::generation_type _generation; - sstables::sstable_version_types _version; - sstables::sstable_format_types _format; + shard_id shard; + sstables::generation_type generation; + sstables::sstable_version_types version; + sstables::sstable_format_types format; }; future download_sstable(replica::database& db, replica::table& table, sstables::shared_sstable sstable, logging::logger& logger);