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
main
Sergey Elin 7 years ago committed by Facebook Github Bot
parent 072ae671a7
commit 3272bc07c6
  1. 2
      db/compaction_picker.cc
  2. 2
      db/repair.cc
  3. 4
      utilities/blob_db/blob_db_impl.cc

@ -477,7 +477,7 @@ bool CompactionPicker::SetupOtherInputs(
ROCKS_LOG_INFO(ioptions_.info_log, ROCKS_LOG_INFO(ioptions_.info_log,
"[%s] Expanding@%d %" ROCKSDB_PRIszt "+%" ROCKSDB_PRIszt "[%s] Expanding@%d %" ROCKSDB_PRIszt "+%" ROCKSDB_PRIszt
"(%" PRIu64 "+%" PRIu64 " bytes) to %" 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(), cf_name.c_str(), input_level, inputs->size(),
output_level_inputs->size(), inputs_size, output_level_inputs->size(), inputs_size,
output_level_inputs_size, expanded_inputs.size(), output_level_inputs_size, expanded_inputs.size(),

@ -205,7 +205,7 @@ class Repairer {
ROCKS_LOG_WARN(db_options_.info_log, ROCKS_LOG_WARN(db_options_.info_log,
"**** Repaired rocksdb %s; " "**** Repaired rocksdb %s; "
"recovered %" ROCKSDB_PRIszt " files; %" PRIu64 "recovered %" ROCKSDB_PRIszt " files; %" PRIu64
"bytes. " " bytes. "
"Some data may have been lost. " "Some data may have been lost. "
"****", "****",
dbname_.c_str(), tables_.size(), bytes); dbname_.c_str(), tables_.size(), bytes);

@ -1068,7 +1068,7 @@ Status BlobDBImpl::GetBlobValue(const Slice& key, const Slice& index_entry,
"Failed to read blob from blob file %" PRIu64 "Failed to read blob from blob file %" PRIu64
", blob_offset: %" PRIu64 ", blob_size: %" PRIu64 ", blob_offset: %" PRIu64 ", blob_size: %" PRIu64
", key_size: " PRIu64 ", read " PRIu64 ", key_size: " PRIu64 ", read " PRIu64
"bytes, status: '%s'", " bytes, status: '%s'",
bfile->BlobFileNumber(), blob_index.offset(), bfile->BlobFileNumber(), blob_index.offset(),
blob_index.size(), key.size(), s.ToString().c_str()); blob_index.size(), key.size(), s.ToString().c_str());
return s; return s;
@ -1078,7 +1078,7 @@ Status BlobDBImpl::GetBlobValue(const Slice& key, const Slice& index_entry,
"Failed to read blob from blob file %" PRIu64 "Failed to read blob from blob file %" PRIu64
", blob_offset: %" PRIu64 ", blob_size: %" PRIu64 ", blob_offset: %" PRIu64 ", blob_size: %" PRIu64
", key_size: " PRIu64 ", read " PRIu64 ", key_size: " PRIu64 ", read " PRIu64
"bytes, status: '%s'", " bytes, status: '%s'",
bfile->BlobFileNumber(), blob_index.offset(), bfile->BlobFileNumber(), blob_index.offset(),
blob_index.size(), key.size(), s.ToString().c_str()); blob_index.size(), key.size(), s.ToString().c_str());

Loading…
Cancel
Save