From 33e46ee13d0e0359fab6d2e141f3fd7990db91d2 Mon Sep 17 00:00:00 2001 From: zhengyu Date: Thu, 9 Nov 2023 12:14:37 +0800 Subject: [PATCH] [enhancement](config) enable single_replica_load by default in BE (#26619) Signed-off-by: freemandealer --- be/src/common/config.cpp | 2 +- docs/en/docs/admin-manual/config/be-config.md | 2 +- docs/en/docs/faq/sql-faq.md | 4 ++-- docs/zh-CN/docs/admin-manual/config/be-config.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp index 0ccb48f116..29af4d5059 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -457,7 +457,7 @@ DEFINE_Int32(webserver_num_workers, "48"); // Period to update rate counters and sampling counters in ms. DEFINE_mInt32(periodic_counter_update_period_ms, "500"); -DEFINE_Bool(enable_single_replica_load, "false"); +DEFINE_Bool(enable_single_replica_load, "true"); // Number of download workers for single replica load DEFINE_Int32(single_replica_load_download_num_workers, "64"); diff --git a/docs/en/docs/admin-manual/config/be-config.md b/docs/en/docs/admin-manual/config/be-config.md index 0cfbbd8a19..c11d03345a 100644 --- a/docs/en/docs/admin-manual/config/be-config.md +++ b/docs/en/docs/admin-manual/config/be-config.md @@ -721,7 +721,7 @@ BaseCompaction:546859: #### `enable_single_replica_load` * Description: Whether to enable the single-copy data import function -* Default value: false +* Default value: true #### `load_error_log_reserve_hours` diff --git a/docs/en/docs/faq/sql-faq.md b/docs/en/docs/faq/sql-faq.md index fd40f08bdf..9e38eced91 100644 --- a/docs/en/docs/faq/sql-faq.md +++ b/docs/en/docs/faq/sql-faq.md @@ -97,5 +97,5 @@ If the `curl 77: Problem with the SSL CA cert` error appears in the be.INFO log. ### Q7. import error:"Message": "[INTERNAL_ERROR]single replica load is disabled on BE." -1. Add parameters in be.conf : enable_single_replica_load = true -2. Restart the BE node. \ No newline at end of file +1. Make sure this parameters `enable_single_replica_load` in be.conf is set true +2. Restart the BE node. 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 36dd0a345c..533b7db5f4 100644 --- a/docs/zh-CN/docs/admin-manual/config/be-config.md +++ b/docs/zh-CN/docs/admin-manual/config/be-config.md @@ -747,7 +747,7 @@ BaseCompaction:546859: #### `enable_single_replica_load` * 描述: 是否启动单副本数据导入功能 -* 默认值: false +* 默认值: true #### `load_error_log_reserve_hours`