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

pengxiangyu 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 6923bf8d7b [fix](file cache)fix block file cache can't be configured 
(#17511)
6923bf8d7b is described below

commit 6923bf8d7b412a85152727b3de388ae5223717a0
Author: zxealous <[email protected]>
AuthorDate: Thu Mar 9 10:12:08 2023 +0800

    [fix](file cache)fix block file cache can't be configured (#17511)
---
 be/src/common/config.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/be/src/common/config.h b/be/src/common/config.h
index a74d7046d3..353103581b 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -833,7 +833,8 @@ CONF_mInt64(file_cache_alive_time_sec, "604800");  // 1 week
 // "whole_file_cache": the whole file.
 CONF_mString(file_cache_type, "");
 CONF_Validator(file_cache_type, [](const std::string config) -> bool {
-    return config == "sub_file_cache" || config == "whole_file_cache" || 
config == "";
+    return config == "sub_file_cache" || config == "whole_file_cache" || 
config == "" ||
+           config == "file_block_cache";
 });
 CONF_mInt64(file_cache_max_size_per_disk, "0"); // zero for no limit
 


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

Reply via email to