Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: region分布与tiflash节点数的关系
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?
Yes, generally speaking, two copies are sufficient for redundancy.
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?
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?
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.
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.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.