Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Aug 8, 2023
1 parent a4f1be2 commit cf1d784
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/checkpoint/checkpoint_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@ Status CheckpointImpl::ExportColumnFamily(
auto opts = ROCKSDB_NAMESPACE::FlushOptions();
// In TiKV context: If tablet is to be destroyed, its background work will
// be paused. Manual flush can never make progress.
opts.check_if_compaction_disabled = true;
// TODO(yingchun): remove it
// opts.check_if_compaction_disabled = true;
s = db_->Flush(opts, handle);
}

Expand Down

0 comments on commit cf1d784

Please sign in to comment.