Skip to content

Commit

Permalink
Update geo-distributed-deployment-topology.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd authored Feb 22, 2024
1 parent 73a90dd commit 49bfce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geo-distributed-deployment-topology.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ This section describes the key parameter configuration of the TiDB geo-distribut
raftstore.raft-min-election-timeout-ticks: 50
raftstore.raft-max-election-timeout-ticks: 60
```

> **Note:**
>
> Using `raftstore.raft-min-election-timeout-ticks` and `raftstore.raft-max-election-timeout-ticks` to configure larger election timeout ticks for a TiKV node can significantly decrease the likelihood of Regions on that node becoming Leaders. However, in a disaster scenario where some TiKV nodes are offline and the remaining active TiKV nodes lag behind in Raft logs, only Regions on this TiKV node with large election timeout ticks can become Leaders. Because Regions on this TiKV node must wait for at least the duration set by `raftstore.raft-min-election-timeout-ticks' before initiating an election, it is recommended to avoid setting these values excessively large to prevent potential impact on the cluster availability in such scenarios.
Expand Down

0 comments on commit 49bfce4

Please sign in to comment.