问题原文
原帖链接 · Phil · CC BY-SA 4.0
Assuming I have a server setup where a quorum vote is always satisfied, how likely will a Split Brain situation occur with Galera? My understanding is Galera does its best to avoid it, but does that mean there's 0 chance of it ever happening if the servers and MySQL/MariaDB processes never fail?
If it's a real possibility, is there a best practice for proper recovery?
已采纳解答
原帖链接 · Rick James · CC BY-SA 4.0
I assume you have a 3-node system with no weightings and the nodes are in separate geographical locations?
Split brain usually happens when these two things occur:
- One node dies, and before you can get it repaired,...
- The network between the two other nodes dies. Now neither of those nodes will accept writes because neither has a quorum.
Hence no "split brain", but instead a read-only system.
The simple answer is that "quorum" prevents "split brain".
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
