From cf1d784baebda2745aae488a6ee3ff47489e79de Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Tue, 8 Aug 2023 21:45:50 +0800 Subject: [PATCH] 1 --- utilities/checkpoint/checkpoint_impl.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utilities/checkpoint/checkpoint_impl.cc b/utilities/checkpoint/checkpoint_impl.cc index 33df82820f16..24f9f59982f9 100644 --- a/utilities/checkpoint/checkpoint_impl.cc +++ b/utilities/checkpoint/checkpoint_impl.cc @@ -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); }