From 3272bc07c6eb6b9b8f2fa644daf0a489e987f712 Mon Sep 17 00:00:00 2001 From: Sergey Elin Date: Fri, 11 May 2018 11:14:20 -0700 Subject: [PATCH] Fix formatting in log message Summary: Add missing space. Closes https://github.com/facebook/rocksdb/pull/3826 Differential Revision: D7956059 Pulled By: miasantreble fbshipit-source-id: 3aeba76385f8726399a3086c46de710636a31191 --- db/compaction_picker.cc | 2 +- db/repair.cc | 2 +- utilities/blob_db/blob_db_impl.cc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/db/compaction_picker.cc b/db/compaction_picker.cc index 82422c4e3..7e4988821 100644 --- a/db/compaction_picker.cc +++ b/db/compaction_picker.cc @@ -477,7 +477,7 @@ bool CompactionPicker::SetupOtherInputs( ROCKS_LOG_INFO(ioptions_.info_log, "[%s] Expanding@%d %" ROCKSDB_PRIszt "+%" ROCKSDB_PRIszt "(%" PRIu64 "+%" PRIu64 " bytes) to %" ROCKSDB_PRIszt - "+%" ROCKSDB_PRIszt " (%" PRIu64 "+%" PRIu64 "bytes)\n", + "+%" ROCKSDB_PRIszt " (%" PRIu64 "+%" PRIu64 " bytes)\n", cf_name.c_str(), input_level, inputs->size(), output_level_inputs->size(), inputs_size, output_level_inputs_size, expanded_inputs.size(), diff --git a/db/repair.cc b/db/repair.cc index 4e59924b0..62609481f 100644 --- a/db/repair.cc +++ b/db/repair.cc @@ -205,7 +205,7 @@ class Repairer { ROCKS_LOG_WARN(db_options_.info_log, "**** Repaired rocksdb %s; " "recovered %" ROCKSDB_PRIszt " files; %" PRIu64 - "bytes. " + " bytes. " "Some data may have been lost. " "****", dbname_.c_str(), tables_.size(), bytes); diff --git a/utilities/blob_db/blob_db_impl.cc b/utilities/blob_db/blob_db_impl.cc index b3bf44e03..a4a1162bd 100644 --- a/utilities/blob_db/blob_db_impl.cc +++ b/utilities/blob_db/blob_db_impl.cc @@ -1068,7 +1068,7 @@ Status BlobDBImpl::GetBlobValue(const Slice& key, const Slice& index_entry, "Failed to read blob from blob file %" PRIu64 ", blob_offset: %" PRIu64 ", blob_size: %" PRIu64 ", key_size: " PRIu64 ", read " PRIu64 - "bytes, status: '%s'", + " bytes, status: '%s'", bfile->BlobFileNumber(), blob_index.offset(), blob_index.size(), key.size(), s.ToString().c_str()); return s; @@ -1078,7 +1078,7 @@ Status BlobDBImpl::GetBlobValue(const Slice& key, const Slice& index_entry, "Failed to read blob from blob file %" PRIu64 ", blob_offset: %" PRIu64 ", blob_size: %" PRIu64 ", key_size: " PRIu64 ", read " PRIu64 - "bytes, status: '%s'", + " bytes, status: '%s'", bfile->BlobFileNumber(), blob_index.offset(), blob_index.size(), key.size(), s.ToString().c_str());