You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Alexander Shraer (JIRA)" <ji...@apache.org> on 2013/03/03 05:45:14 UTC

[jira] [Commented] (ZOOKEEPER-1113) QuorumMaj counts the number of ACKs but does not check who sent the ACK

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

Alexander Shraer commented on ZOOKEEPER-1113:
---------------------------------------------

The fix to this is in ZOOKEEPER-107. The idea is to check if an ack is valid when the ack is received. Then, the quorumVerifier can 
still check just the number of acks (from the set of valid acks). QuorumMajorityTest in ZK-107 is a new test to verify that this works.
                
> QuorumMaj counts the number of ACKs but does not check who sent the ACK
> -----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1113
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1113
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: quorum
>            Reporter: Alexander Shraer
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1113.patch
>
>
> If a server connects to the leader as follower, it will be allowed to vote (with QuorumMaj) even if it is not a follower in the current configuration,
> as the leader does not care who sends the ACK - it only counts the number of ACKs.

--
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