Signed-off-by: Zhiru Zhu <zzhu@fandm.edu>
pull/1612/head
Zhiru Zhu 2020-03-10 22:42:59 +08:00
parent 5b0b226bc4
commit 50804ecaf5
No known key found for this signature in database
GPG Key ID: AB8AD6F124821076
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ DBImpl::Compact(const std::string& table_id) {
ENGINE_LOG_DEBUG << "Before compacting, wait for build index thread to finish...";
WaitBuildIndexFinish();
// WaitBuildIndexFinish();
const std::lock_guard<std::mutex> index_lock(build_index_mutex_);
const std::lock_guard<std::mutex> merge_lock(flush_merge_compact_mutex_);