mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 10:41:12 +00:00
sstables_loader_helpers: remove underscores from struct members
Remove underscores from minimal_sst_info struct members to comply with our coding guidelines.
This commit is contained in:
committed by
Pavel Emelyanov
parent
aa00048753
commit
1150f7cf24
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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<minimal_sst_info> download_sstable(replica::database& db, replica::table& table, sstables::shared_sstable sstable, logging::logger& logger);
|
||||
|
||||
Reference in New Issue
Block a user