浏览代码

log compaction output file's level along with number

main
ideawu 9 年前
父节点
当前提交
8fcceb2a6f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      db/db_impl.cc

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

@ -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);
}

正在加载...
取消
保存