瀏覽代碼

Merge pull request #284 from ideawu/master

log compaction output file's level along with number
xry
Chris Mumford 9 年之前
父節點
當前提交
dac40d25f6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      db/db_impl.cc

+ 2
- 1
db/db_impl.cc 查看文件

@ -851,8 +851,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);
}

Loading…
取消
儲存