The Relationship Between Region Distribution and the Number of TiFlash Nodes

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

Original topic: region分布与tiflash节点数的关系

| username: llllllll

May I ask if the number of replicas set by set tiflash replica is the same as the number of TiFlash nodes, will the same region appear on each TiFlash node?

| username: wakaka | Original post link

Yes, generally speaking, two copies are sufficient for redundancy.

| username: llllllll | Original post link

Okay, thank you, expert.

| username: llllllll | Original post link

Let me ask further, if set tiflash replica to 3, what will happen when the tiflash nodes become 2? Will the region of the other node be directly lost, or is there another handling method?

| username: 数据小黑 | Original post link

Are there any other ways to handle this? What effect do you want to achieve with this problem? The replicas have all been manually set to 2, won’t the extra replicas be removed?

| username: llllllll | Original post link

For example, the missing copy will be backed up twice on the currently active TiFlash nodes, just to confirm if there is any follow-up processing. Of course, in practice, this kind of processing is not really necessary. :joy:

| username: wakaka | Original post link

It’s just one replica. If it goes down, you definitely won’t see it, but once it’s back up, it will be fine. Even if it doesn’t come back up, it’s not a problem and won’t affect anything in the cluster.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.