This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 82a095dad831014845da17cbc96d55deb20be123 Author: Kang <kxiao.ti...@gmail.com> AuthorDate: Mon Oct 23 00:39:02 2023 +0800 add be config disable_segment_cache --- be/src/common/config.cpp | 1 + be/src/common/config.h | 1 + 2 files changed, 2 insertions(+) diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp index 265a2232d68..9df98fd6fb2 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -302,6 +302,7 @@ DEFINE_mInt32(trash_file_expire_time_sec, "259200"); // minimum file descriptor number // modify them upon necessity DEFINE_Int32(min_file_descriptor_number, "60000"); +DEFINE_mBool(disable_segment_cache, "false"); DEFINE_Int64(index_stream_cache_capacity, "10737418240"); DEFINE_String(row_cache_mem_limit, "20%"); diff --git a/be/src/common/config.h b/be/src/common/config.h index 06f9a18fcd5..c3a4a4229ba 100644 --- a/be/src/common/config.h +++ b/be/src/common/config.h @@ -348,6 +348,7 @@ DECLARE_mInt32(trash_file_expire_time_sec); // minimum file descriptor number // modify them upon necessity DECLARE_Int32(min_file_descriptor_number); +DECLARE_mBool(disable_segment_cache); DECLARE_Int64(index_stream_cache_capacity); DECLARE_String(row_cache_mem_limit); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org