From 0fd351300cfd25942d8b5468806982919779460c Mon Sep 17 00:00:00 2001 From: nebula-bots <88429921+nebula-bots@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:58:40 +0800 Subject: [PATCH] set auto_remove_invalid_space default true (#3913) (#628) Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com> Co-authored-by: lionel.liu@vesoft.com <52276794+liuyu85cn@users.noreply.github.com> Co-authored-by: Doodle <13706157+critical27@users.noreply.github.com> Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com> --- src/kvstore/NebulaStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kvstore/NebulaStore.cpp b/src/kvstore/NebulaStore.cpp index e0d51e2a189..090c4675dd7 100644 --- a/src/kvstore/NebulaStore.cpp +++ b/src/kvstore/NebulaStore.cpp @@ -24,7 +24,7 @@ DEFINE_int32(custom_filter_interval_secs, "default minor compaction"); DEFINE_int32(num_workers, 4, "Number of worker threads"); DEFINE_int32(clean_wal_interval_secs, 600, "interval to trigger clean expired wal"); -DEFINE_bool(auto_remove_invalid_space, false, "whether remove data of invalid space when restart"); +DEFINE_bool(auto_remove_invalid_space, true, "whether remove data of invalid space when restart"); DEFINE_int32(sync_meta_listener_interval_secs, 60, "inerval to sync meta listener"); DECLARE_bool(rocksdb_disable_wal);