diff options
author | ideawu <ideawu@me> | 2015-04-20 12:39:14 +0800 |
---|---|---|
committer | ideawu <ideawu@me> | 2015-04-20 12:39:14 +0800 |
commit | 8fcceb2a6ffbb3dc8c75763951a2536a3571b08e (patch) | |
tree | 73cb202a694df737ba23c0e959b0cad9fa2c9a1a | |
parent | 77948e7eec0613fb5cbecb7e320b9498607030b5 (diff) | |
download | leveldb-8fcceb2a6ffbb3dc8c75763951a2536a3571b08e.tar.gz |
log compaction output file's level along with number
-rw-r--r-- | db/db_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/db_impl.cc b/db/db_impl.cc index 49b9595..7912174 100644 --- a/db/db_impl.cc +++ b/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); } |