Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 无法驱逐tikv Region Leader
【TiDB Usage Environment】Production
【TiDB Version】5.4.0
【Encountered Problem】Unable to evict TiKV Region Leader
【Reproduction Path】Executed ALTER TABLE t SHARD_ROW_ID_BITS = 4;
【Problem Phenomenon and Impact】
【TiDB Operator Version】: tidb-operator-v1.2.7
【K8s Version】: 1.20.15
After executing the eviction command, more than an hour has passed, and the Region Leader has not been evicted; instead, the number has increased.
kubectl -n prod annotate pod tikv-15 tidb.pingcap.com/evict-leader="none"