Skip to content

Commit dac40d2

Browse files
committed
Merge pull request bitcoin#284 from ideawu/master
log compaction output file's level along with number
2 parents 8ec241a + 76bba13 commit dac40d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db/db_impl.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,9 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
851851
delete iter;
852852
if (s.ok()) {
853853
Log(options_.info_log,
854-
"Generated table #%llu: %lld keys, %lld bytes",
854+
"Generated table #%llu@%d: %lld keys, %lld bytes",
855855
(unsigned long long) output_number,
856+
compact->compaction->level(),
856857
(unsigned long long) current_entries,
857858
(unsigned long long) current_bytes);
858859
}

0 commit comments

Comments
 (0)