Shutting Down TiKV Instance, Leader Region Replica Does Not Migrate

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

Original topic: 关闭tikv实例,leader region副本没有发生迁移

| username: TiDBerHailang

I have a question. I am doing an experiment with 3 TiKV instances and 3 replicas. When I shut down one instance, I noticed that the regions on this TiKV instance did not undergo leader migration. Is this normal?

| username: Raymond | Original post link

It’s normal because you only have 3 TiKV instances. If you add another one, you will see the migration.

| username: TiDBerHailang | Original post link

Thank you for your reply.

| username: Kongdom | Original post link

With 3 TiKV instances, if one goes down, to ensure 3 replicas, shouldn’t there be one leader replica on each node, with each node having one leader replica?