[improve](report) split agent batch tasks automaticlly #43257 (#43365)

cherry pick from #43257
This commit is contained in:
walter
2024-11-08 18:59:53 +08:00
committed by GitHub
parent 8f2f4e9394
commit 2ba88ed2a8
2 changed files with 9 additions and 1 deletions

View File

@ -1177,6 +1177,14 @@ public class Config extends ConfigBase {
@ConfField(mutable = true, masterOnly = true)
public static int report_queue_size = 100;
// if the number of report task in FE exceed max_report_task_num_per_rpc, then split it to multiple rpc
@ConfField(mutable = true, masterOnly = true, description = {
"重新发送 agent task 时,单次 RPC 分配给每个be的任务最大个数,默认值为10000个。",
"The maximum number of batched tasks per RPC assigned to each BE when resending agent tasks, "
+ "the default value is 10000."
})
public static int report_resend_batch_task_num_per_rpc = 10000;
/**
* If set to true, metric collector will be run as a daemon timer to collect metrics at fix interval
*/