[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452657#comment-13452657
 ] 

Hadoop QA commented on ZOOKEEPER-1483:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12544576/ZOOKEEPER-1483-trunk.patch
  against trunk revision 1382661.

    +1 @author.  The patch does not contain any @author tags.

    +0 tests included.  The patch appears to be a documentation patch that 
doesn't require tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac 
compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) 
warnings.

    +1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1182//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1182//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1182//console

This message is automatically generated.
                
> Fix leader election recipe documentation
> ----------------------------------------
>
>                 Key: ZOOKEEPER-1483
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1483
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.4.3
>            Reporter: Ankur
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1483-3.4.patch, ZOOKEEPER-1483-trunk.patch
>
>
> The leader election recipe documentation suggest that to avoid the herd 
> effect a client process volunteering for leadership via child znode [i] under 
> the leader election path [/leader] must only watch the the SMALLEST znode [j] 
> from a different client process such that [j < i]. 
> This will NOT avoid the herd effect as many clients will end up watching the 
> same znode[j] where j is the next-in-sequence number greater than the number 
> of the current leader.
> Specifically in Step 3 of the Election procedure here 
> http://zookeeper.apache.org/doc/trunk/recipes.html#sc_leaderElection
> This "where j is the SMALLEST sequence number" should be changed to this
> "where j is the LARGEST sequence number"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to