Przeglądaj źródła

Merge pull request #284 from ideawu/master

log compaction output file's level along with number
main
Chris Mumford 8 lat temu
rodzic
commit
dac40d25f6
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      db/db_impl.cc

+ 2
- 1
db/db_impl.cc Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz