Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 同城两中心高可用架构相关问题
Dear teachers, according to the TiDB official course on the two-center architecture in the same city, the region has 5 replicas. The course mentions that when the main center goes down, in synchronous mode, the disaster recovery center requires manual intervention. Could you please explain why manual intervention is needed? According to my understanding:
-
If the main center has 3 regions and the disaster recovery center has 2 regions, when the main center goes down, 3 out of 5 regions are down, making the region unusable. This is understandable and requires manual intervention.
-
However, if the main center has only 2 regions and the disaster recovery center has 3 regions, even if the main center goes down, the regions in the secondary center can still be used, satisfying the majority principle of Raft.