From 037d22082249f9bfbb696c36c1567164d7ea461f Mon Sep 17 00:00:00 2001 From: Aolin Date: Tue, 17 Dec 2024 12:16:02 +0800 Subject: [PATCH 1/3] v8.1.2: dynamic config add `import.num-threads` Signed-off-by: Aolin --- dynamic-config.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dynamic-config.md b/dynamic-config.md index 93878ef0e6187..6b3fc75c549a5 100644 --- a/dynamic-config.md +++ b/dynamic-config.md @@ -233,6 +233,7 @@ The following TiKV configuration items can be modified dynamically: | storage.flow-control.soft-pending-compaction-bytes-limit | The threshold of kvDB pending compaction bytes that triggers flow control mechanism to reject some write requests | | storage.flow-control.hard-pending-compaction-bytes-limit | The threshold of kvDB pending compaction bytes that triggers flow control mechanism to reject all write requests | | `storage.scheduler-worker-pool-size` | The number of threads in the Scheduler thread pool | +| `import.num-threads` | The number of threads to process RPC requests (supported starting from v8.1.2) | | `backup.num-threads` | The number of backup threads (supported since v4.0.3) | | `split.qps-threshold` | The threshold to execute `load-base-split` on a Region. If the QPS of read requests for a Region exceeds `qps-threshold` for 10 consecutive seconds, this Region should be split.| | `split.byte-threshold` | The threshold to execute `load-base-split` on a Region. If the traffic of read requests for a Region exceeds the `byte-threshold` for 10 consecutive seconds, this Region should be split. | From 9bb80244b160cb9471ed654ed699b0159ed79ca2 Mon Sep 17 00:00:00 2001 From: Aolin Date: Tue, 17 Dec 2024 13:25:23 +0800 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: 3pointer --- dynamic-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic-config.md b/dynamic-config.md index 6b3fc75c549a5..7733998b77d5d 100644 --- a/dynamic-config.md +++ b/dynamic-config.md @@ -233,7 +233,7 @@ The following TiKV configuration items can be modified dynamically: | storage.flow-control.soft-pending-compaction-bytes-limit | The threshold of kvDB pending compaction bytes that triggers flow control mechanism to reject some write requests | | storage.flow-control.hard-pending-compaction-bytes-limit | The threshold of kvDB pending compaction bytes that triggers flow control mechanism to reject all write requests | | `storage.scheduler-worker-pool-size` | The number of threads in the Scheduler thread pool | -| `import.num-threads` | The number of threads to process RPC requests (supported starting from v8.1.2) | +| `import.num-threads` | The number of threads to process restore or import RPC requests (supported starting from v8.1.2) | | `backup.num-threads` | The number of backup threads (supported since v4.0.3) | | `split.qps-threshold` | The threshold to execute `load-base-split` on a Region. If the QPS of read requests for a Region exceeds `qps-threshold` for 10 consecutive seconds, this Region should be split.| | `split.byte-threshold` | The threshold to execute `load-base-split` on a Region. If the traffic of read requests for a Region exceeds the `byte-threshold` for 10 consecutive seconds, this Region should be split. | From f41820395d30bcb596199f295ee181f78231b9c2 Mon Sep 17 00:00:00 2001 From: Aolin Date: Mon, 23 Dec 2024 11:05:50 +0800 Subject: [PATCH 3/3] Apply suggestions from code review --- dynamic-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic-config.md b/dynamic-config.md index 7733998b77d5d..b75edf3dff87d 100644 --- a/dynamic-config.md +++ b/dynamic-config.md @@ -233,7 +233,7 @@ The following TiKV configuration items can be modified dynamically: | storage.flow-control.soft-pending-compaction-bytes-limit | The threshold of kvDB pending compaction bytes that triggers flow control mechanism to reject some write requests | | storage.flow-control.hard-pending-compaction-bytes-limit | The threshold of kvDB pending compaction bytes that triggers flow control mechanism to reject all write requests | | `storage.scheduler-worker-pool-size` | The number of threads in the Scheduler thread pool | -| `import.num-threads` | The number of threads to process restore or import RPC requests (supported starting from v8.1.2) | +| `import.num-threads` | The number of threads to process restore or import RPC requests (dynamic modification is supported starting from v8.1.2) | | `backup.num-threads` | The number of backup threads (supported since v4.0.3) | | `split.qps-threshold` | The threshold to execute `load-base-split` on a Region. If the QPS of read requests for a Region exceeds `qps-threshold` for 10 consecutive seconds, this Region should be split.| | `split.byte-threshold` | The threshold to execute `load-base-split` on a Region. If the traffic of read requests for a Region exceeds the `byte-threshold` for 10 consecutive seconds, this Region should be split. |