[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Shraer updated ZOOKEEPER-1699:
----------------------------------------

    Attachment: ZOOKEEPER-1699-v2.patch

Includes a new test. The test consistently fails without the changes in 
Leader.java and passes with the changes. 

Without the changes in Leader.java, instead of moving into LOOKING state, the 
servers remain in Leader/Follower state - leader has quorum of old config but 
is stuck waiting for an ACK it needs to complete a quorum of new config.

> Leader should timeout and give up leadership when losing quorum of last 
> proposed configuration
> ----------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1699
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1699
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.0
>            Reporter: Alexander Shraer
>            Priority: Blocker
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1699-v1.patch, ZOOKEEPER-1699-v2.patch, 
> ZOOKEEPER-1699.patch
>
>
> A leader gives up leadership when losing a quorum of the current 
> configuration.
> This doesn't take into account any proposed configuration. So, if
> a reconfig operation is in progress and a quorum of the new configuration is 
> not
> responsive, the leader will just get stuck waiting for it to ACK the reconfig 
> operation, and will never timeout. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to