zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shraer <shra...@gmail.com>
Subject Re: Dynamic reconfiguration
Date Sat, 28 Jul 2012 18:15:55 GMT
yes, if the server reboots (this is when it would read the config file).
Otherwise, it has the last config in memory (this is held in a
QuorumVerifier object in QuorumPeer) and it doesn't look in the config

BTW the config file (when overwritten by the system) has an auto-generated
version using which we know which config is later than which.  Users are
not supposed to specify this version at all - its supposed to be managed by
the system. If you replace the file and set the version to something low or
not specify it at all, chances are that the config file will be overwritten
during synchronization with the leader or during communication with other
servers in FastLeaderElection.
If you set it to something high, its possible that your server will be able
to convince others that this is the latest config :)


On Sat, Jul 28, 2012 at 10:57 AM, Jared Cantwell

> No that you would want to do this, but simply overwriting a config file
> would "uncommit" a configuration and make that server think the last
> committed configuration was whatever is in the file?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message