From 2040bb545b4ebfd8debe0111566340dd2f0b1882 Mon Sep 17 00:00:00 2001 From: Will Angenent Date: Thu, 20 Aug 2020 01:58:54 -0700 Subject: [PATCH] Fixed missing space in DeleteScheduler::BackgroundEmptyTrash log message (#7286) Summary: Example of a faulty log message: Rate limiting is enabled with penalty 18203625after deleting file ... Pull Request resolved: https://github.com/facebook/rocksdb/pull/7286 Reviewed By: David132639 Differential Revision: D23215981 Pulled By: freewilll fbshipit-source-id: 8bdbbffea9f2942cc7a652f315a560d61c0f1068 --- file/delete_scheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/delete_scheduler.cc b/file/delete_scheduler.cc index 337a3986b..475d8883e 100644 --- a/file/delete_scheduler.cc +++ b/file/delete_scheduler.cc @@ -258,7 +258,7 @@ void DeleteScheduler::BackgroundEmptyTrash() { ((total_deleted_bytes * kMicrosInSecond) / current_delete_rate); ROCKS_LOG_INFO(info_log_, "Rate limiting is enabled with penalty %" PRIu64 - "after deleting file %s", + " after deleting file %s", total_penalty, path_in_trash.c_str()); while (!closing_ && !cv_.TimedWait(start_time + total_penalty)) { }