diff --git a/src/db_impl_gc.cc b/src/db_impl_gc.cc index b27d94ea5..0360d4aeb 100644 --- a/src/db_impl_gc.cc +++ b/src/db_impl_gc.cc @@ -107,12 +107,6 @@ Status TitanDBImpl::BackgroundGC(LogBuffer* log_buffer, // Nothing to do ROCKS_LOG_BUFFER(log_buffer, "Titan GC nothing to do"); } else { - { - mutex_.Unlock(); - auto* cfd = reinterpret_cast(cfh.get())->cfd(); - db_impl_->WaitForFlushMemTable(cfd); - mutex_.Lock(); - } BlobGCJob blob_gc_job(blob_gc.get(), db_, &mutex_, db_options_, env_, env_options_, blob_manager_.get(), blob_file_set_.get(), log_buffer, &shuting_down_,