[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720380#action_12720380
 ] 

Benjamin Reed commented on ZOOKEEPER-107:
-----------------------------------------

so if you do one at a time without using Zab, without working through the 
details
1) start with A, B, C, D
2) A is the leader and proposes LEAVE D and fails where only A and C get it.
3) B is the leader and proposes LEAVE C and fails where only B and D get it 
because of a complete power outage.
4) everything comes back up
5) A is elected leader by C
6) B is elected leader by D

if we use ZAB split brain will not occur because we do not use the 
configuration until it has been committed. since it has been accepted by both 
the old and new quorums, we will eventually converge on the new configuration. 
(that is my conjecture, still needs to be proven)

> Allow dynamic changes to server cluster membership
> --------------------------------------------------
>
>                 Key: ZOOKEEPER-107
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-107
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Patrick Hunt
>         Attachments: SimpleAddition.rtf
>
>
> Currently cluster membership is statically defined, adding/removing hosts 
> to/from the server cluster dynamically needs to be supported.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to