Hadoop QA commented on ZOOKEEPER-480:

+1 overall.  Here are the results of testing the latest attachment 
  against trunk revision 798038.

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

    +1 tests included.  The patch appears to include 3 new or modified 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 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: 
Findbugs warnings: 
Console output: 

This message is automatically generated.

> FLE should perform leader check when node is not leading and add vote of 
> follower
> ---------------------------------------------------------------------------------
>                 Key: ZOOKEEPER-480
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-480
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.2.1, 3.3.0
>         Attachments: ZOOKEEPER-480.patch, ZOOKEEPER-480.patch
> As a server may join leader election while others have already elected a 
> leader, it is necessary that a server handles some special cases of leader 
> election when notifications are from servers that are either LEADING or 
> FOLLOWING. In such special cases, we check if we have received a message from 
> the leader to declare a leader elected. This check does not consider the case 
> that the process performing the check might be a recently elected leader, and 
> consequently the check fails.
> This patch also adds a new case, which corresponds to adding a vote to 
> recvset when the notification is from a process LEADING or FOLLOWING. This 
> fixes the case raised in ZOOKEEPER-475.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to