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

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a2e29d171a [enhancement](be-meta) sync rocksdb by default to protect 
data (#24571)
a2e29d171a is described below

commit a2e29d171a1dc66a1fe48167ae20cb3baf24a978
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 18cd0b0ffd..74980aa41d 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -581,7 +581,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