Repository: zookeeper Updated Branches: refs/heads/master 5c4e44332 -> fe6eac364
ZOOKEEPER-2865: Reconfig Causes Inconsistent Configuration file among⦠⦠the nodes Author: Alexander Shraer <ashr...@apple.com> Reviewers: Michael Han <h...@apache.org> Closes #328 from shralex/ZOOKEEPER-2865 Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/fe6eac36 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/fe6eac36 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/fe6eac36 Branch: refs/heads/master Commit: fe6eac364c3888d1b23dec568e8985ac0a6b0a51 Parents: 5c4e443 Author: Alexander Shraer <ashr...@apple.com> Authored: Sat Aug 5 21:22:30 2017 -0700 Committer: Michael Han <h...@apache.org> Committed: Sat Aug 5 21:22:30 2017 -0700 ---------------------------------------------------------------------- docs/zookeeperReconfig.html | 4 ++++ docs/zookeeperReconfig.pdf | Bin 62032 -> 62190 bytes .../content/xdocs/zookeeperReconfig.xml | 4 ++++ 3 files changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zookeeper/blob/fe6eac36/docs/zookeeperReconfig.html ---------------------------------------------------------------------- diff --git a/docs/zookeeperReconfig.html b/docs/zookeeperReconfig.html index e03f2fa..a10c31f 100644 --- a/docs/zookeeperReconfig.html +++ b/docs/zookeeperReconfig.html @@ -855,6 +855,10 @@ zk.getConfig(watcher, callback, context);</pre> </div> </div> +<p>If the configuration of existing servers changes or they become unavailable + before the joiner succeeds to connect and learn obout configuration changes, the + joiner may need to be restarted with an updated configuration file in order to be + able to connect.</p> <p>Finally, note that once connected to the leader, a joiner adopts the last committed configuration, in which it is absent (the initial config of the joiner is backed up before being rewritten). If the http://git-wip-us.apache.org/repos/asf/zookeeper/blob/fe6eac36/docs/zookeeperReconfig.pdf ---------------------------------------------------------------------- diff --git a/docs/zookeeperReconfig.pdf b/docs/zookeeperReconfig.pdf index 12cd2f3..ee3b139 100644 Binary files a/docs/zookeeperReconfig.pdf and b/docs/zookeeperReconfig.pdf differ http://git-wip-us.apache.org/repos/asf/zookeeper/blob/fe6eac36/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml ---------------------------------------------------------------------- diff --git a/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml b/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml index c1c9ad7..a1dafef 100644 --- a/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml +++ b/src/docs/src/documentation/content/xdocs/zookeeperReconfig.xml @@ -550,6 +550,10 @@ zk.getConfig(watcher, callback, context);</programlisting> independently from your main ensemble. It is OK to list multiple joiners as observers in an initial config.</para> </note> + <para>If the configuration of existing servers changes or they become unavailable + before the joiner succeeds to connect and learn obout configuration changes, the + joiner may need to be restarted with an updated configuration file in order to be + able to connect.</para> <para>Finally, note that once connected to the leader, a joiner adopts the last committed configuration, in which it is absent (the initial config of the joiner is backed up before being rewritten). If the