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 954f98c8a74 [fix](cloud) enable_file_cache for cloud by default (#41502) 954f98c8a74 is described below commit 954f98c8a74eb88cdc7beb862d02153d5407a2e5 Author: Yongqiang YANG <98214048+dataroar...@users.noreply.github.com> AuthorDate: Fri Oct 11 10:13:32 2024 +0800 [fix](cloud) enable_file_cache for cloud by default (#41502) --- be/src/common/config.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp index 82dd51224cc..e805da4e62a 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -1683,6 +1683,13 @@ bool init(const char* conf_file, bool fill_conf_map, bool must_exist, bool set_t SET_FIELD(it.second, std::vector<std::string>, fill_conf_map, set_to_default); } + if (config::is_cloud_mode()) { + auto st = config::set_config("enable_file_cache", "true", true, true); + LOG(INFO) << "set config enable_file_cache " + << "true" + << " " << st; + } + return true; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org