Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 三节点挂掉一节点后如何均衡
[TiDB Usage Environment] Production Environment
[TiDB Version] v5.4.3
[Encountered Issue]
TiKV nodes 201, 202, 203 have unbalanced leader replicas, but the difference is not significant. Assuming each node has 10K leader replicas.
When node 202 goes down,
How are the replicas balanced? Are the non-leader replicas on 201 and 203 elected respectively, resulting in each node having 15K leader replicas?
Currently testing,
Reading tables with corresponding leader replicas on 201 works fine.
Reading tables with corresponding leader replicas on 202 results in an error: region is not unavailable.