MS-330 Stability test failed caused by server core dumped

Former-commit-id: 6399857193109ff8d5886c9b8db168cda04026bb
This commit is contained in:
starlord 2019-08-12 14:06:08 +08:00
parent 305158b1da
commit 039a268f22

View File

@ -482,7 +482,7 @@ void DBImpl::BackgroundCompaction(std::set<std::string> table_ids) {
meta_ptr_->Archive();
int ttl = 1;
int ttl = 5*meta::M_SEC;//default: file will be deleted after 5 minutes
if (options_.mode == Options::MODE::CLUSTER) {
ttl = meta::D_SEC;
}