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 43776465d93 [fix](segcompaction) disable segcompaction by default 
(#28906)
43776465d93 is described below

commit 43776465d93b1b621c22ee17fd3cbe59098c3bd9
Author: zhengyu <[email protected]>
AuthorDate: Sat Dec 23 07:43:41 2023 +0800

    [fix](segcompaction) disable segcompaction by default (#28906)
    
    Signed-off-by: freemandealer <[email protected]>
---
 be/src/common/config.cpp                         | 2 +-
 docs/en/docs/admin-manual/config/be-config.md    | 2 +-
 docs/zh-CN/docs/admin-manual/config/be-config.md | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 05ab3847902..09e084fbb43 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -941,7 +941,7 @@ DEFINE_String(be_node_role, "mix");
 // Hide the be config page for webserver.
 DEFINE_Bool(hide_webserver_config_page, "false");
 
-DEFINE_Bool(enable_segcompaction, "true");
+DEFINE_Bool(enable_segcompaction, "false");
 
 // Max number of segments allowed in a single segcompaction task.
 DEFINE_Int32(segcompaction_batch_size, "10");
diff --git a/docs/en/docs/admin-manual/config/be-config.md 
b/docs/en/docs/admin-manual/config/be-config.md
index c55bc8d00b8..3c72ac3a82a 100644
--- a/docs/en/docs/admin-manual/config/be-config.md
+++ b/docs/en/docs/admin-manual/config/be-config.md
@@ -632,7 +632,7 @@ BaseCompaction:546859:
 
 * Type: bool
 * Description: Enable to use segment compaction during loading to avoid -238 
error
-* Default value: true
+* Default value: false
 
 #### `segcompaction_batch_size`
 
diff --git a/docs/zh-CN/docs/admin-manual/config/be-config.md 
b/docs/zh-CN/docs/admin-manual/config/be-config.md
index 567c3c598c5..04d74f49d60 100644
--- a/docs/zh-CN/docs/admin-manual/config/be-config.md
+++ b/docs/zh-CN/docs/admin-manual/config/be-config.md
@@ -646,7 +646,7 @@ BaseCompaction:546859:
 
 * 类型:bool
 * 描述:在导入时进行 segment compaction 来减少 segment 数量, 以避免出现写入时的 -238 错误
-* 默认值:true
+* 默认值:false
 
 #### `segcompaction_batch_size`
 


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

Reply via email to