From fd27b4559582c0ca2a3b3428f092a763b7fd3a86 Mon Sep 17 00:00:00 2001 From: groot Date: Mon, 12 Aug 2019 14:06:08 +0800 Subject: [PATCH] MS-330 Stability test failed caused by server core dumped Former-commit-id: 8f6671473b52fb661c1020cb74642324f486eff8 --- 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 dd56f797..8ff2562a 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; } -- GitLab