From a82d2fce94258a1ba220fd3c6a01b1288b8f4639 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Mon, 12 Jan 2026 11:44:08 +0800 Subject: [PATCH 1/4] Add temp.md --- temp.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 temp.md diff --git a/temp.md b/temp.md new file mode 100644 index 0000000000000..af27ff4986a7b --- /dev/null +++ b/temp.md @@ -0,0 +1 @@ +This is a test file. \ No newline at end of file From e598fd17c3e3ed04479827e55b983f951f6cd1cc Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Mon, 12 Jan 2026 11:44:13 +0800 Subject: [PATCH 2/4] Delete temp.md --- temp.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 temp.md diff --git a/temp.md b/temp.md deleted file mode 100644 index af27ff4986a7b..0000000000000 --- a/temp.md +++ /dev/null @@ -1 +0,0 @@ -This is a test file. \ No newline at end of file From 74dae68a2d134708d0bb1bf71661904b684408ca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 12 Jan 2026 03:45:27 +0000 Subject: [PATCH 3/4] Auto-sync: Update English docs from Chinese PR Synced from: https://github.com/pingcap/docs-cn/pull/21257 Target PR: https://github.com/pingcap/docs/pull/22297 AI Provider: gemini Co-authored-by: github-actions[bot] --- configure-store-limit.md | 11 +++++++++++ pd-control.md | 20 +++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/configure-store-limit.md b/configure-store-limit.md index 67c80420bc740..42c6e276f7e9d 100644 --- a/configure-store-limit.md +++ b/configure-store-limit.md @@ -54,6 +54,17 @@ tiup ctl:v pd store limit all 5 add-peer // All stores tiup ctl:v pd store limit all 5 remove-peer // All stores can at most delete 5 peers per minute. ``` +Starting from v8.5.5 and v9.0.0, PD supports setting the limit for removing peers for all stores by storage engine type, as shown in the following examples: + +```bash +tiup ctl:v pd store limit all engine tikv 5 remove-peer // All TiKV stores can at most delete 5 peers per minute. +tiup ctl:v pd store limit all engine tiflash 5 remove-peer // All TiFlash stores can at most delete 5 peers per minute. +``` + +### Set limit for a single store + +To set the speed limit for a single store, run the following commands: + ### Set limit for a single store To set the speed limit for a single store, run the following commands: diff --git a/pd-control.md b/pd-control.md index 960fa0da2293d..6de537ba73446 100644 --- a/pd-control.md +++ b/pd-control.md @@ -1236,15 +1236,17 @@ store weight 1 5 10 You can set the scheduling speed of stores by using `store limit`. For more details about the principles and usage of `store limit`, see [`store limit`](/configure-store-limit.md). ```bash ->> store limit // Show the speed limit of adding-peer operations and the limit of removing-peer operations per minute in all stores ->> store limit add-peer // Show the speed limit of adding-peer operations per minute in all stores ->> store limit remove-peer // Show the limit of removing-peer operations per minute in all stores ->> store limit all 5 // Set the limit of adding-peer operations to 5 and the limit of removing-peer operations to 5 per minute for all stores ->> store limit 1 5 // Set the limit of adding-peer operations to 5 and the limit of removing-peer operations to 5 per minute for store 1 ->> store limit all 5 add-peer // Set the limit of adding-peer operations to 5 per minute for all stores ->> store limit 1 5 add-peer // Set the limit of adding-peer operations to 5 per minute for store 1 ->> store limit 1 5 remove-peer // Set the limit of removing-peer operations to 5 per minute for store 1 ->> store limit all 5 remove-peer // Set the limit of removing-peer operations to 5 per minute for all stores +>> store limit // Show the speed limit of adding-peer operations and the limit of removing-peer operations per minute in all stores +>> store limit add-peer // Show the speed limit of adding-peer operations per minute in all stores +>> store limit remove-peer // Show the limit of removing-peer operations per minute in all stores +>> store limit all 5 // Set the limit of adding-peer operations to 5 and the limit of removing-peer operations to 5 per minute for all stores +>> store limit 1 5 // Set the limit of adding-peer operations to 5 and the limit of removing-peer operations to 5 per minute for store 1 +>> store limit all 5 add-peer // Set the limit of adding-peer operations to 5 per minute for all stores +>> store limit 1 5 add-peer // Set the limit of adding-peer operations to 5 per minute for store 1 +>> store limit 1 5 remove-peer // Set the limit of removing-peer operations to 5 per minute for store 1 +>> store limit all 5 remove-peer // Set the limit of removing-peer operations to 5 per minute for all stores +>> store limit all engine tikv 5 remove-peer // Starting from v8.5.5 and v9.0.0, you can set the speed limit of removing-peer operations for all TiKV stores. This example sets the speed limit of removing-peer operations for all TiKV stores to 5 per minute. +>> store limit all engine tiflash 5 remove-peer // Starting from v8.5.5 and v9.0.0, you can set the speed limit of removing-peer operations for all TiFlash stores. This example sets the speed limit of removing-peer operations for all TiFlash stores to 5 per minute. ``` > **Note:** From c146bddf56eff8a7e3a771a5f5a4a3a4ebf6cc48 Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 12 Jan 2026 11:56:57 +0800 Subject: [PATCH 4/4] Update configure-store-limit.md --- configure-store-limit.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/configure-store-limit.md b/configure-store-limit.md index 42c6e276f7e9d..326c00c3f2f98 100644 --- a/configure-store-limit.md +++ b/configure-store-limit.md @@ -54,21 +54,17 @@ tiup ctl:v pd store limit all 5 add-peer // All stores tiup ctl:v pd store limit all 5 remove-peer // All stores can at most delete 5 peers per minute. ``` -Starting from v8.5.5 and v9.0.0, PD supports setting the limit for removing peers for all stores by storage engine type, as shown in the following examples: +Starting from v8.5.5 and v9.0.0, you can set the speed limit for removing-peers operations for all stores of a specific storage engine type, as shown in the following examples: ```bash -tiup ctl:v pd store limit all engine tikv 5 remove-peer // All TiKV stores can at most delete 5 peers per minute. -tiup ctl:v pd store limit all engine tiflash 5 remove-peer // All TiFlash stores can at most delete 5 peers per minute. +tiup ctl:v pd store limit all engine tikv 5 remove-peer // All TiKV stores can at most remove 5 peers per minute. +tiup ctl:v pd store limit all engine tiflash 5 remove-peer // All TiFlash stores can at most remove 5 peers per minute. ``` ### Set limit for a single store To set the speed limit for a single store, run the following commands: -### Set limit for a single store - -To set the speed limit for a single store, run the following commands: - ```bash tiup ctl:v pd store limit 1 5 // store 1 can at most add and delete 5 peers per minute. tiup ctl:v pd store limit 1 5 add-peer // store 1 can at most add 5 peers per minute.