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

eldenmoon 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 75a45484b6d [chore](config) modify 
`tablet_schema_cache_recycle_interval` from 24h to 1h (#28980)
75a45484b6d is described below

commit 75a45484b6d7864ee3415b3d2351d326db48bf86
Author: lihangyu <[email protected]>
AuthorDate: Tue Dec 26 00:34:58 2023 +0800

    [chore](config) modify `tablet_schema_cache_recycle_interval` from 24h to 
1h (#28980)
    
    To prevent from too many tablet schema cache in memory and lead to 
performance issue when hold lock
    to erase item
---
 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 8153e5aca5f..2f12cea1fa3 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -1100,7 +1100,7 @@ 
DEFINE_Int32(group_commit_memory_rows_for_max_filter_ratio, "10000");
 DEFINE_Bool(wait_internal_group_commit_finish, "false");
 
 DEFINE_mInt32(scan_thread_nice_value, "0");
-DEFINE_mInt32(tablet_schema_cache_recycle_interval, "86400");
+DEFINE_mInt32(tablet_schema_cache_recycle_interval, "3600");
 
 DEFINE_Bool(exit_on_exception, "false");
 // This config controls whether the s3 file writer would flush cache 
asynchronously


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

Reply via email to