Former-commit-id: 82f47e4997edb9d3ce71442ca51f972f05e808a0
This commit is contained in:
zhiru 2019-06-28 11:08:10 +08:00 committed by jinhai
parent 1860053797
commit 623f837548

View File

@ -600,7 +600,7 @@ void DBImpl::BackgroundCompaction(std::set<std::string> table_ids) {
int ttl = 1;
if (options_.mode == "cluster") {
ttl = meta::D_SEC;
ENGINE_LOG_DEBUG << "Server mode is cluster. Clean up files with ttl = " << std::to_string(ttl) << "seconds.";
// ENGINE_LOG_DEBUG << "Server mode is cluster. Clean up files with ttl = " << std::to_string(ttl) << "seconds.";
}
meta_ptr_->CleanUpFilesWithTTL(ttl);
}