Hey there,

is there any way to dynamically add a new server to a running cluster?

i tried searching on google and i found that this issue has not been fixed.(
https://issues.apache.org/jira/browse/ZOOKEEPER-762)


To my understanding, all the servers in a cluster must have the same
configuration(zoo.cfg).

If a new server wants to join an already running cluster, how does it get
the same configuration from the cluster before appending his own
server.x=host:port:electionport?

and how does every server get the updated configuration? What i did so far
is to upload it a znode, say /config/zoo.cfg and when there is a
change(NodeDatachanged),
every server gets the updated version (is this the right approach?)

thanks in advance

Reply via email to