From 4566281cc3fa0678f8bacbf16d96b8409d4f960c Mon Sep 17 00:00:00 2001 From: zhengyu Date: Thu, 18 May 2023 07:28:04 +0800 Subject: [PATCH] [fix](sink) disable lazy-open partition by default (#19769) Signed-off-by: freemandealer --- be/src/common/config.cpp | 4 ++-- be/src/common/config.h | 2 +- docs/en/docs/admin-manual/config/be-config.md | 2 +- 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 3929fcca68..8f4a42ac24 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -450,9 +450,9 @@ DEFINE_mInt32(streaming_load_rpc_max_alive_time_sec, "1200"); // the timeout of a rpc to open the tablet writer in remote BE. // short operation time, can set a short timeout DEFINE_Int32(tablet_writer_open_rpc_timeout_sec, "60"); -// The configuration is used to enable lazy open feature, and the default value is true. +// The configuration is used to enable lazy open feature, and the default value is false. // When there is mixed deployment in the upgraded version, it needs to be set to false. -DEFINE_mBool(enable_lazy_open_partition, "true"); +DEFINE_mBool(enable_lazy_open_partition, "false"); // You can ignore brpc error '[E1011]The server is overcrowded' when writing data. DEFINE_mBool(tablet_writer_ignore_eovercrowded, "true"); DEFINE_mInt32(slave_replica_writer_rpc_timeout_sec, "60"); diff --git a/be/src/common/config.h b/be/src/common/config.h index cda85c867e..b624611a8f 100644 --- a/be/src/common/config.h +++ b/be/src/common/config.h @@ -486,7 +486,7 @@ DECLARE_mInt32(streaming_load_rpc_max_alive_time_sec); // the timeout of a rpc to open the tablet writer in remote BE. // short operation time, can set a short timeout DECLARE_Int32(tablet_writer_open_rpc_timeout_sec); -// The configuration is used to enable lazy open feature, and the default value is true. +// The configuration is used to enable lazy open feature, and the default value is false. // When there is mixed deployment in the upgraded version, it needs to be set to false. DECLARE_mBool(enable_lazy_open_partition); // You can ignore brpc error '[E1011]The server is overcrowded' when writing data. diff --git a/docs/en/docs/admin-manual/config/be-config.md b/docs/en/docs/admin-manual/config/be-config.md index 1dfeb93e5c..9cd9d6b5f5 100644 --- a/docs/en/docs/admin-manual/config/be-config.md +++ b/docs/en/docs/admin-manual/config/be-config.md @@ -1219,7 +1219,7 @@ Metrics: {"filtered_rows":0,"input_row_num":3346807,"input_rowsets_count":42,"in * Type: bool * Description: When importing, most partitions may not need to be written, and lazy opening can be used to only open the partitions that need to be written.When there is mixed deployment in the upgraded version, it needs to be set to false. -* Default value: true +* Default value: false #### `streaming_load_rpc_max_alive_time_sec` 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 c229edcfe0..81b31ace79 100644 --- a/docs/zh-CN/docs/admin-manual/config/be-config.md +++ b/docs/zh-CN/docs/admin-manual/config/be-config.md @@ -1235,7 +1235,7 @@ Metrics: {"filtered_rows":0,"input_row_num":3346807,"input_rowsets_count":42,"in * 类型:bool * 描述:导入时大部分partition可能都不需要写入,可以使用延迟打开的方式只打开需要写入的partition。升级版本出现混合部署的时候,需要设置为false。 -* 默认值:true +* 默认值:false #### `streaming_load_rpc_max_alive_time_sec`