wenzhenghu commented on code in PR #55772:
URL: https://github.com/apache/doris/pull/55772#discussion_r2685103379
##########
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:
config的配置是规定了session var能配置的上限。避免用户无节制设置高值,导致query limit功能失去意义。提供session
var是为了用户在允许的范围内根据自己的需要合理设置。
--
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]