mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
sstables: correct the debugging message printed when removing temp dir
in372a4d1b79, we introduced a change which was for debugging the logging message. but the logging message intended for printing the temp_dir not prints an `optional<int>`. this is both confusing, and more importantly, it hurts the debuggability. in this change, the related change is reverted. Fixes scylladb/scylladb#20408 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> (cherry picked from commitd26bb9ae30) Closes scylladb/scylladb#20434
This commit is contained in:
@@ -195,9 +195,7 @@ future<> filesystem_storage::remove_temp_dir() {
|
||||
if (!_temp_dir) {
|
||||
co_return;
|
||||
}
|
||||
std::optional<int> opt;
|
||||
sstlog.debug("Removing temp_dir={}", opt);
|
||||
//sstlog.debug("Removing temp_dir={}", _temp_dir);
|
||||
sstlog.debug("Removing temp_dir={}", _temp_dir);
|
||||
try {
|
||||
co_await remove_file(_temp_dir->native());
|
||||
} catch (...) {
|
||||
|
||||
Reference in New Issue
Block a user