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:33:29 UTC

svn commit: r1384670 - in /zookeeper/branches/branch-3.4: CHANGES.txt src/docs/src/documentation/content/xdocs/recipes.xml

Author: mahadev
Date: Fri Sep 14 07:33:29 2012
New Revision: 1384670

URL: http://svn.apache.org/viewvc?rev=1384670&view=rev
Log:
ZOOKEEPER-1483. Fix leader election recipe documentation. (Michi Mutsuzaki via mahadev)

Modified:
    zookeeper/branches/branch-3.4/CHANGES.txt
    zookeeper/branches/branch-3.4/src/docs/src/documentation/content/xdocs/recipes.xml

Modified: zookeeper/branches/branch-3.4/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.4/CHANGES.txt?rev=1384670&r1=1384669&r2=1384670&view=diff
==============================================================================
--- zookeeper/branches/branch-3.4/CHANGES.txt (original)
+++ zookeeper/branches/branch-3.4/CHANGES.txt Fri Sep 14 07:33:29 2012
@@ -111,6 +111,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-1389. it would be nice if start-foreground used exec $JAVA

Modified: zookeeper/branches/branch-3.4/src/docs/src/documentation/content/xdocs/recipes.xml
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.4/src/docs/src/documentation/content/xdocs/recipes.xml?rev=1384670&r1=1384669&r2=1384670&view=diff
==============================================================================
--- zookeeper/branches/branch-3.4/src/docs/src/documentation/content/xdocs/recipes.xml (original)
+++ zookeeper/branches/branch-3.4/src/docs/src/documentation/content/xdocs/recipes.xml Fri Sep 14 07:33:29 2012
@@ -604,7 +604,7 @@
       </listitem>
 
       <listitem>
-        <para>Watch for changes on "ELECTION/n_j", where j is the smallest
+        <para>Watch for changes on "ELECTION/n_j", where j is the largest
         sequence number such that j &lt; i and n_j is a znode in C;</para>
       </listitem>
     </orderedlist>
@@ -623,14 +623,14 @@
 
       <listitem>
         <para>Otherwise, watch for changes on "ELECTION/n_j", where j is the
-        smallest sequence number such that j &lt; i and n_j is a znode in C;
+        largest sequence number such that j &lt; i and n_j is a znode in C;
         </para>
       </listitem>
     </orderedlist>
 
     <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>
   </section>
   </section>