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

Flavio Paiva Junqueira commented on ZOOKEEPER-107:
--------------------------------------------------

+1, I think it is a good idea to use observers (ZOOKEEPER-368). This way we 
make sure that once the new configuration is committed the new active member is 
in sync with the leader. 

I have a slightly different idea of how to make it work, though. I was thinking 
that once the observer finsihes synchronizing with the leader, it can simply 
submit a setData. This way we have no special code path for this operation. 
Only when finalizing the setData operation we have to update all appropriate 
data structures.

> 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
>            Assignee: Henry Robinson
>         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