Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rwinn
· 12y ago · 0 comments
So what happens if a network partition occurs where both sides can elect a new leader?
Comments
[–]
pepijndevos
12y ago
This can't happen. You can't devide a cluster in half and still have a majority. See my other post.
[–]
rwinn
OP
12y ago
Ah, ok so all nodes needs to be known beforehand
[–]
knyt
12y ago
Yeah, and any changes to the set of nodes (adding or removing a node from the cluster) must be agreed upon by a majority of the existing nodes.
[–]
Muzzaf
12y ago
At most one side can elect a new leader, since there are an odd number of nodes.