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 ae36af95f50 [bugfix](be) the config could not be modified on line 
(#46470)
ae36af95f50 is described below

commit ae36af95f50dd2b0dd500c97bcb8193e14af4af4
Author: yiguolei <[email protected]>
AuthorDate: Tue Jan 7 10:15:35 2025 +0800

    [bugfix](be) the config could not be modified on line (#46470)
    
    This value is saved in some type description, could not be modified
    online. User should restart BE after modify this value.
    For example,
        static TypeDescriptor create_string_type() {
            TypeDescriptor ret;
            ret.type = TYPE_STRING;
            ret.len = config::string_type_length_soft_limit_bytes;
            return ret;
        }
---
 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 218dc2ae6b1..82bfa49e305 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -915,7 +915,7 @@ 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_mInt32(string_type_length_soft_limit_bytes, "1048576");
+DEFINE_Int32(string_type_length_soft_limit_bytes, "1048576");
 
 DEFINE_Validator(string_type_length_soft_limit_bytes,
                  [](const int config) -> bool { return config > 0 && config <= 
2147483643; });


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

Reply via email to