Skip to content

Commit 8fcceb2

Browse files
author
ideawu
committed
log compaction output file's level along with number
1 parent 77948e7 commit 8fcceb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db/db_impl.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,9 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
821821
delete iter;
822822
if (s.ok()) {
823823
Log(options_.info_log,
824-
"Generated table #%llu: %lld keys, %lld bytes",
824+
"Generated table #%llu@%d: %lld keys, %lld bytes",
825825
(unsigned long long) output_number,
826+
compact->compaction->level(),
826827
(unsigned long long) current_entries,
827828
(unsigned long long) current_bytes);
828829
}

0 commit comments

Comments
 (0)