mirror of
https://github.com/google/leveldb.git
synced 2025-01-15 05:30:08 +08:00
Merge pull request #284 from ideawu/master
log compaction output file's level along with number
This commit is contained in:
commit
dac40d25f6
@ -851,8 +851,9 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
|
|||||||
delete iter;
|
delete iter;
|
||||||
if (s.ok()) {
|
if (s.ok()) {
|
||||||
Log(options_.info_log,
|
Log(options_.info_log,
|
||||||
"Generated table #%llu: %lld keys, %lld bytes",
|
"Generated table #%llu@%d: %lld keys, %lld bytes",
|
||||||
(unsigned long long) output_number,
|
(unsigned long long) output_number,
|
||||||
|
compact->compaction->level(),
|
||||||
(unsigned long long) current_entries,
|
(unsigned long long) current_entries,
|
||||||
(unsigned long long) current_bytes);
|
(unsigned long long) current_bytes);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user