[opt](auto bucket) add fe config autobucket_max_buckets (#33842)

This commit is contained in:
Kang
2024-04-19 13:04:21 +08:00
committed by yiguolei
parent e38d844d40
commit ad75b9b142
3 changed files with 38 additions and 6 deletions

View File

@ -2341,12 +2341,18 @@ public class Config extends ConfigBase {
})
public static long analyze_record_limit = 20000;
@ConfField(description = {
@ConfField(mutable = true, description = {
"Auto Buckets中最小的buckets数目",
"min buckets of auto bucket"
})
public static int autobucket_min_buckets = 1;
@ConfField(mutable = true, description = {
"Auto Buckets中最大的buckets数目",
"max buckets of auto bucket"
})
public static int autobucket_max_buckets = 128;
@ConfField(description = {"Arrow Flight Server中所有用户token的缓存上限,超过后LRU淘汰,默认值为512, "
+ "并强制限制小于 qe_max_connection/2, 避免`Reach limit of connections`, "
+ "因为arrow flight sql是无状态的协议,连接通常不会主动断开,"