gavinchou commented on code in PR #55772:
URL: https://github.com/apache/doris/pull/55772#discussion_r2684911652
##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -476,6 +476,10 @@ public class SessionVariable implements Serializable,
Writable {
public static final String DISABLE_FILE_CACHE = "disable_file_cache";
+ public static final String FILE_CACHE_QUERY_LIMIT_PERCENT =
"file_cache_query_limit_percent";
Review Comment:
有session var 了 就不需要给config 里加一个 配置了吧
##########
fe/fe-common/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -3771,6 +3771,12 @@ public static int metaServiceRpcRetryTimes() {
@ConfField(mutable = true)
public static String aws_credentials_provider_version = "v2";
+ @ConfField(mutable = true, description = {
+ "用户的单个查询能使用的 FILE_CACHE 比例的软上限(取值范围 1 到 100),100表示能够使用全量 FILE_CACHE",
+ "The soft upper limit of FILE_CACHE percent that a single query of a
user can use, (range: 1 to 100).",
+ "100 indicate that the full FILE_CACHE capacity can be used. "
+ })
+ public static int file_cache_query_limit_percent_soft = 100;
Review Comment:
有session var 了 就不需要给config 里加一个 配置了吧
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]