sstables: filesystem_storage::change_state: simplify log message

When moving to the base directory, the printout currently looks broken:
```
INFO  2023-04-16 09:15:58,631 [shard 0] sstable - Moving sstable .../data/ks/cf-4c1bb670dc3711ed96733daf102e4aab/upload/md-1-big-Data.db to  in ".../data/ks/cf-4c1bb670dc3711ed96733daf102e4aab/"
```

Since `path` already contains `to`, the message can be just simplified
and `to` need not be printed explicitly.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>

Closes #13525
This commit is contained in:
Benny Halevy
2023-04-16 12:18:36 +03:00
committed by Pavel Emelyanov
parent 4f21755c98
commit 87d9c4d7f8

View File

@@ -2342,7 +2342,7 @@ future<> sstable::filesystem_storage::change_state(const sstable& sst, sstring t
co_return; // Already there
}
sstlog.info("Moving sstable {} to {} in {}", sst.get_filename(), to, path);
sstlog.info("Moving sstable {} to {}", sst.get_filename(), path);
co_await move(sst, path.native(), std::move(new_generation), delay_commit);
}