large_data_handler: Increase verbosity on shutdown

It may hang waiting for background handlers, so it's good to know if
they exist at all

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
Pavel Emelyanov
2023-03-10 19:04:12 +03:00
parent 2000494881
commit 2f316880ae

View File

@@ -58,6 +58,7 @@ void large_data_handler::start() {
future<> large_data_handler::stop() {
if (running()) {
_running = false;
large_data_logger.info("Waiting for {} background handlers", max_concurrency - _sem.available_units());
co_await _sem.wait(max_concurrency);
}
}