[
https://issues.apache.org/jira/browse/ZOOKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234416#comment-13234416
]
Alexander Shraer commented on ZOOKEEPER-107:
--------------------------------------------
Hi Marshall,
Thanks for the comments. Regarding 7 - zoo_getconfig was made to be very
similar to zoo_get, except that it doesn't get a path as parameter and reads
the special configuration znode. As the comments in the code say, the buffer
holds the configuration returned by the server and buffer_len is the size of
the "returned" buffer. Similarly the answer to 8 is that it was made to be
similar to zoo_get. The configuration version is actually part of the returned
config data itself, although (if I remember correctly) it should be identical
to the znode version. Its something that is also stored in the membership file
and used for comparing configs, so its always part of the config.
I would be happy if you fix the other issues you raised. Would you like to
update the last patch here and upload it ?
I'd actually be happy to pass the C part to you entirely, I'm just not sure how
that could work in JIRA.
Thanks,
Alex
P.S. this JIRA is not for inclusion. Once 1411 gets in I'd like to open another
JIRA with the part in the 107 patch missing from 1411 (the actual
reconfiguration algorithm)
> 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: Alexander Shraer
> Fix For: 3.5.0
>
> Attachments: SimpleAddition.rtf, ZOOKEEPER-107-1-Mar.patch,
> ZOOKEEPER-107-28-Feb.patch, ZOOKEEPER-107-28-Feb.patch,
> ZOOKEEPER-107-29-Feb.patch, zoo_replicated1.cfg, zoo_replicated1.members,
> zookeeper-3.4.0.jar, zookeeper-dev-fatjar.jar,
> zookeeper-reconfig-sep11.patch, zookeeper-reconfig-sep12.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira