Parcourir la source

log compaction output file's level along with number

naive_version
ideawu il y a 9 ans
Parent
révision
8fcceb2a6f
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      db/db_impl.cc

+ 2
- 1
db/db_impl.cc Voir le fichier

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

Chargement…
Annuler
Enregistrer