mirror of
https://github.com/google/leveldb.git
synced 2025-02-26 08:50:09 +08:00
fix: correct the level of compaction output file
This commit is contained in:
parent
068d5ee1a3
commit
0fe0859a2c
@ -863,7 +863,7 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
|
||||
delete iter;
|
||||
if (s.ok()) {
|
||||
Log(options_.info_log, "Generated table #%llu@%d: %lld keys, %lld bytes",
|
||||
(unsigned long long)output_number, compact->compaction->level(),
|
||||
(unsigned long long)output_number, compact->compaction->level() + 1,
|
||||
(unsigned long long)current_entries,
|
||||
(unsigned long long)current_bytes);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user