Sfoglia il codice sorgente

小改动

pull/1/head^2
cyq 4 settimane fa
parent
commit
7575417f53
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      db/db_impl.cc

+ 2
- 2
db/db_impl.cc Vedi File

@ -719,13 +719,13 @@ bool DBImpl::RemoveExpireTable() {
if(meta->largest_deadtime < nowTime) {
remove = true;
edit.RemoveFile(level,meta->number);
std::cout<<"remove file : "<<meta->number<<" from level : "<<level<<std::endl;
std::cout<<"remove file : "<<meta->number<<" from level : "<<level<<" deadtime : "<<meta->largest_deadtime<<std::endl;
}
}
}
if(remove) {
versions_->LogAndApply(&edit,&mutex_);
RemoveObsoleteFiles();
// RemoveObsoleteFiles();
}
base->Unref();
return remove;

Caricamento…
Annulla
Salva