You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2011/06/03 16:52:47 UTC

[jira] [Updated] (ZOOKEEPER-1082) modify leader election to correctly take into account current epoch

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

Flavio Junqueira updated ZOOKEEPER-1082:
----------------------------------------

    Attachment: ZOOKEEPER-1082.patch

Preliminary patch. It is backward compatible, and tests pass for me. Also, FLELostMessageTest has notification messages hardcoded, which shows that it is backward compatible, but we probably want to implement a little more testing.

> modify leader election to correctly take into account current epoch
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1082
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1082
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: server
>            Reporter: Benjamin Reed
>            Assignee: Flavio Junqueira
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-1082.patch
>
>
> when comparing zxids for leader election, the current epoch of the peer needs to be taken into account.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira