You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by ma...@apache.org on 2012/09/14 09:31:21 UTC
svn commit: r1384669 - in /zookeeper/trunk: CHANGES.txt
src/docs/src/documentation/content/xdocs/recipes.xml
Author: mahadev
Date: Fri Sep 14 07:31:20 2012
New Revision: 1384669
URL: http://svn.apache.org/viewvc?rev=1384669&view=rev
Log:
ZOOKEEPER-1483. Fix leader election recipe documentation (Michi Mutsuzaki via mahadev)
Modified:
zookeeper/trunk/CHANGES.txt
zookeeper/trunk/src/docs/src/documentation/content/xdocs/recipes.xml
Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1384669&r1=1384668&r2=1384669&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Fri Sep 14 07:31:20 2012
@@ -252,6 +252,9 @@ BUGFIXES:
ZOOKEEPER-1494. C client: socket leak after receive timeout in
zookeeper_interest() (Michi Mutsuzaki via mahadev)
+ ZOOKEEPER-1483. Fix leader election recipe documentation (Michi Mutsuzaki
+ via mahadev)
+
IMPROVEMENTS:
ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,
Modified: zookeeper/trunk/src/docs/src/documentation/content/xdocs/recipes.xml
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/docs/src/documentation/content/xdocs/recipes.xml?rev=1384669&r1=1384668&r2=1384669&view=diff
==============================================================================
--- zookeeper/trunk/src/docs/src/documentation/content/xdocs/recipes.xml (original)
+++ zookeeper/trunk/src/docs/src/documentation/content/xdocs/recipes.xml Fri Sep 14 07:31:20 2012
@@ -642,7 +642,7 @@
</listitem>
<listitem>
- <para>Watch for changes on "ELECTION/guid-n_j", where j is the smallest
+ <para>Watch for changes on "ELECTION/guid-n_j", where j is the largest
sequence number such that j < i and n_j is a znode in C;</para>
</listitem>
</orderedlist>
@@ -661,7 +661,7 @@
<listitem>
<para>Otherwise, watch for changes on "ELECTION/guid-n_j", where j is the
- smallest sequence number such that j < i and n_j is a znode in C;
+ largest sequence number such that j < i and n_j is a znode in C;
</para>
</listitem>
</orderedlist>
@@ -672,7 +672,7 @@
<listitem>
<para>Note that the znode having no preceding znode on the list of
children does not imply that the creator of this znode is aware that it is
- the current leader. Applications may consider creating a separate to znode
+ the current leader. Applications may consider creating a separate znode
to acknowledge that the leader has executed the leader procedure. </para>
</listitem>
</itemizedlist>