diff --git a/cpp/src/db/DBImpl.cpp b/cpp/src/db/DBImpl.cpp index 3673bc4ad3d4b33ffcffa142377a00bc6624725e..4028a1bbbeb9a2dac4130a79299fbe0549e1bc98 100644 --- a/cpp/src/db/DBImpl.cpp +++ b/cpp/src/db/DBImpl.cpp @@ -326,9 +326,7 @@ Status DBImpl::background_merge_files(const std::string& group_id) { merge_files(group_id, kv.first, kv.second); } - if (has_merge) { - _pMeta->archive_files(); - } + _pMeta->archive_files(); try_build_index();