Skip to content

Commit

Permalink
log compaction output file's level along with number
Browse files Browse the repository at this point in the history
  • Loading branch information
ideawu committed Apr 20, 2015
1 parent 77948e7 commit 8fcceb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/db_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,9 @@ Status DBImpl::FinishCompactionOutputFile(CompactionState* compact,
delete iter;
if (s.ok()) {
Log(options_.info_log,
"Generated table #%llu: %lld keys, %lld bytes",
"Generated table #%llu@%d: %lld keys, %lld bytes",
(unsigned long long) output_number,
compact->compaction->level(),
(unsigned long long) current_entries,
(unsigned long long) current_bytes);
}
Expand Down

0 comments on commit 8fcceb2

Please sign in to comment.