feat(db): archive after every serliazation

Former-commit-id: bf5191dc707e7336d64534110aa49a2d36da1a1e
pull/191/head
Xu Peng 2019-05-26 16:50:56 +08:00
parent 3958fe5a35
commit ff3a89b997
1 changed files with 1 additions and 3 deletions

View File

@ -326,9 +326,7 @@ Status DBImpl<EngineT>::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();