TiKV Region Issues

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv region问题

| username: 孤君888

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed that led to the issue
[Encountered Issue: Problem Phenomenon and Impact]

The following is what I found when executing diagnostics on the Dashboard, not quite understanding it

[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots / Logs / Monitoring]

| username: redgame | Original post link

Take a look at the detailed information, it seems to be an alert.

| username: zhanggame1 | Original post link

Not_leader represents the routing information recorded in the TiDB cache. This peer is the leader, but when accessing TiKV, it is not the leader.

| username: 孤君888 | Original post link

Does this explain the issue? How can I eliminate this warning?

| username: zhanggame1 | Original post link

If there are no abnormalities, just leave it for now.