From c1e99adc0c4d8bd438695dc1999a6b5b87af0a01 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 20 Aug 2024 15:57:12 +0800 Subject: [PATCH] PD: add description of batch in evict-leader-scheduler config (#18625) --- pd-control.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pd-control.md b/pd-control.md index daf4bcbd6e2d7..44046e03a932b 100644 --- a/pd-control.md +++ b/pd-control.md @@ -979,6 +979,12 @@ Use this command to view and manage the configuration of the `evict-leader-sched If all store configurations of an `evict-leader-scheduler` are removed, the scheduler itself is automatically removed. +- When an `evict-leader-scheduler` already exists, use the `set batch` subcommand to modify the `batch` value. `batch` controls the number of Operators generated during a single scheduling process. The default value is `3`, and the range is `[1, 10]`. The larger the `batch` value, the faster the scheduling speed. + + ```bash + scheduler config evict-leader-scheduler set batch 10 // Set the batch value to 10 + ``` + ### `service-gc-safepoint` Use this command to query the current GC safepoint and service GC safepoint. The output is as follows: