mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
Fix a wrong log formatting
Summary: I experienced weird segfault because of this mismatch of type in log formatting. Fix it. Closes https://github.com/facebook/rocksdb/pull/3345 Differential Revision: D6687224 Pulled By: siying fbshipit-source-id: c51fb1c008b7ebc3efdc353a4adad3e8f5b3e9de
This commit is contained in:
parent
0f0d2ab95a
commit
6aa95f4d0f
|
@ -625,8 +625,8 @@ Status CompactionJob::Install(const MutableCFOptions& mutable_cf_options) {
|
||||||
"[%s] compacted to: %s, MB/sec: %.1f rd, %.1f wr, level %d, "
|
"[%s] compacted to: %s, MB/sec: %.1f rd, %.1f wr, level %d, "
|
||||||
"files in(%d, %d) out(%d) "
|
"files in(%d, %d) out(%d) "
|
||||||
"MB in(%.1f, %.1f) out(%.1f), read-write-amplify(%.1f) "
|
"MB in(%.1f, %.1f) out(%.1f), read-write-amplify(%.1f) "
|
||||||
"write-amplify(%.1f) %s, records in: %d, records dropped: %d "
|
"write-amplify(%.1f) %s, records in: %" PRIu64
|
||||||
"output_compression: %s\n",
|
", records dropped: %" PRIu64 " output_compression: %s\n",
|
||||||
cfd->GetName().c_str(), vstorage->LevelSummary(&tmp), bytes_read_per_sec,
|
cfd->GetName().c_str(), vstorage->LevelSummary(&tmp), bytes_read_per_sec,
|
||||||
bytes_written_per_sec, compact_->compaction->output_level(),
|
bytes_written_per_sec, compact_->compaction->output_level(),
|
||||||
stats.num_input_files_in_non_output_levels,
|
stats.num_input_files_in_non_output_levels,
|
||||||
|
|
Loading…
Reference in a new issue