mirror of
https://github.com/google/leveldb.git
synced 2025-01-27 06:30:07 +08:00
Fix InstallCompactionResults Log wrong level
The output SSTable should be put at compact->compaction->level()+1
This commit is contained in:
parent
11aafab31f
commit
4836a3690b
@ -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