This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit b14e85e2102f0674a50b1ce0441332bb561c6ee9
Author: Yongqiang YANG <[email protected]>
AuthorDate: Wed Sep 20 11:41:26 2023 +0800

    [enhancement](be-meta) sync rocksdb by default to protect data (#24571)
    
    If performance of user's disks is low, users can change the config
    to false, this way users know what would happen if a kernel panic.
---
 be/src/common/config.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 8eb278bf82..976409c758 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -578,7 +578,7 @@ DEFINE_mInt32(result_buffer_cancelled_interval_time, "300");
 DEFINE_mInt32(priority_queue_remaining_tasks_increased_frequency, "512");
 
 // sync tablet_meta when modifying meta
-DEFINE_mBool(sync_tablet_meta, "false");
+DEFINE_mBool(sync_tablet_meta, "true");
 
 // default thrift rpc timeout ms
 DEFINE_mInt32(thrift_rpc_timeout_ms, "60000");


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to