Skip to content

Commit fa8b334

Browse files
author
github-actions
committed
update MD by dispatch event pingcap/docs master
1 parent 1a0da71 commit fa8b334

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

markdown-pages/en/tidb/master/best-practices/pd-scheduling-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Practically, if a node failure is considered unrecoverable, you can immediately
297297

298298
Starting from TiDB v5.2.0, TiKV introduces a mechanism to detect slow-disk nodes. By sampling the requests in TiKV, this mechanism works out a score ranging from 1 to 100. A TiKV node with a score higher than or equal to 80 is marked as slow. You can add [`evict-slow-store-scheduler`](/pd-control.md#scheduler-show--add--remove--pause--resume--config--describe) to schedule slow nodes. If only one TiKV node is detected as slow, and its slow score reaches the limit (80 by default), the Leaders on that node will be evicted (similar to the effect of `evict-leader-scheduler`).
299299

300-
Starting from v8.5.5 and v9.0.0, TiKV introduces a mechanism to detect slow-network nodes. Similar to slow-disk node detection, this mechanism identifies slow nodes by probing network latency between TiKV nodes and calculating a score. You can enable this mechanism using [`enable-network-slow-store`](/pd-control.md#scheduler-config-evict-slow-store-scheduler).
300+
Starting from v8.5.5 and v9.0.0, TiKV introduces a mechanism to detect slow-network nodes. Similar to slow-disk node detection, this mechanism identifies slow nodes by probing network latency between TiKV nodes and calculating a score. You can enable this mechanism using [`enable-network-slow-store`](/pd-control.md#scheduler-config-evict-slow-store-scheduler) (disabled by default).
301301

302302
> **Note:**
303303
>

markdown-pages/en/tidb/master/pd-control.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -979,16 +979,14 @@ For slow-disk nodes, the detection on TiKV and the scheduling via `evict-slow-st
979979
980980
Starting from v8.5.5 and v9.0.0, TiKV supports reporting a `NetworkSlowScore` in store heartbeats to PD. It is calculated based on network detection results and helps identify slow nodes experiencing network jitter. The score ranges from 1 to 100, where a higher value indicates a higher possibility of network anomalies.
981981
982-
For compatibility and resource consumption considerations, the detection and scheduling of slow-network nodes are disabled by default. To enable them, configure both of the following:
982+
- TiKV enables detection of slow-network nodes by default, with a default probing interval of `100ms`. To modify the probing frequency, set the TiKV configuration item [`raftstore.inspect-network-interval`](/tikv-configuration-file.md#inspect-network-interval-new-in-v855-and-v900) to an appropriate value. A smaller value increases the probing frequency, which helps detect network jitter more quickly, but also consumes more network and CPU resources.
983983
984-
1. Enable the PD scheduler to handle slow-network nodes:
984+
- Scheduling for slow-network nodes is disabled by default on the PD side. To enable it, configure PD as follows:
985985
986986
```bash
987987
scheduler config evict-slow-store-scheduler set enable-network-slow-store true
988988
```
989989
990-
2. On TiKV, set the [`raftstore.inspect-network-interval`](/tikv-configuration-file.md#inspect-network-interval-new-in-v855-and-v900) configuration item to a value greater than `0` to enable network detection.
991-
992990
#### Recovery time control
993991
994992
You can specify how long a slow node must remain stable before it is considered recovered by using the `recovery-duration` parameter.

0 commit comments

Comments
 (0)