From 039a268f22f066de4a30eb5b2f5ee9890eb8807c Mon Sep 17 00:00:00 2001 From: starlord Date: Mon, 12 Aug 2019 14:06:08 +0800 Subject: [PATCH] MS-330 Stability test failed caused by server core dumped Former-commit-id: 6399857193109ff8d5886c9b8db168cda04026bb --- cpp/src/db/DBImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/db/DBImpl.cpp b/cpp/src/db/DBImpl.cpp index dd56f79755..8ff2562a72 100644 --- a/cpp/src/db/DBImpl.cpp +++ b/cpp/src/db/DBImpl.cpp @@ -482,7 +482,7 @@ void DBImpl::BackgroundCompaction(std::set 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; }