mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
distributed_loader: Print storage type when populating
On boot it's very useful to know which storage a table comes from, so add the respective info to existing log messages. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
@@ -742,7 +742,7 @@ future<> distributed_loader::populate_keyspace(distributed<replica::database>& d
|
||||
|
||||
sstring cfname = cf->schema()->cf_name();
|
||||
auto sstdir = ks.column_family_directory(ksdir, cfname, uuid);
|
||||
dblog.info("Keyspace {}: Reading CF {} id={} version={}", ks_name, cfname, uuid, s->version());
|
||||
dblog.info("Keyspace {}: Reading CF {} id={} version={} storage={}", ks_name, cfname, uuid, s->version(), cf->get_storage_options().type_string());
|
||||
|
||||
auto metadata = table_populator(db, ks_name, cfname);
|
||||
std::exception_ptr ex;
|
||||
|
||||
@@ -193,7 +193,7 @@ sstable_directory::highest_version_seen() const {
|
||||
}
|
||||
|
||||
future<> sstable_directory::process_sstable_dir(process_flags flags) {
|
||||
dirlog.debug("Start processing directory {} for SSTables", _sstable_dir);
|
||||
dirlog.debug("Start processing directory {} for SSTables (storage {})", _sstable_dir, _storage_opts->type_string());
|
||||
return _lister->process(*this, _sstable_dir, flags);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user