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

dataroaring 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 1ff0bc8c747 [config](defaut) string_type_length_soft_limit_bytes to 
10MB (#51121)
1ff0bc8c747 is described below

commit 1ff0bc8c747774eb65b253a7e3a9416d6778e677
Author: Yongqiang YANG <yangyongqi...@selectdb.com>
AuthorDate: Mon May 26 23:49:58 2025 +0800

    [config](defaut) string_type_length_soft_limit_bytes to 10MB (#51121)
    
    Change default value of string_type_length_soft_limit_bytes to 10MB,
    because string_type_length_soft_limit_bytes should be 10MB for log
    analysis.
    
    
    Co-authored-by: Yongqiang YANG <yangyogqi...@selectdb.com>
---
 be/src/common/config.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 931031b5217..580ddcae65e 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -937,8 +937,8 @@ DEFINE_String(function_service_protocol, "h2:grpc");
 DEFINE_String(rpc_load_balancer, "rr");
 
 // a soft limit of string type length, the hard limit is 2GB - 4, but if too 
long will cause very low performance,
-// so we set a soft limit, default is 1MB
-DEFINE_Int32(string_type_length_soft_limit_bytes, "1048576");
+// so we set a soft limit, default is 10MB
+DEFINE_Int32(string_type_length_soft_limit_bytes, "10485760");
 
 DEFINE_Validator(string_type_length_soft_limit_bytes,
                  [](const int config) -> bool { return config > 0 && config <= 
2147483643; });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to