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

Flavio Junqueira commented on ZOOKEEPER-1805:
---------------------------------------------

I think I get it now, in ZOOKEEPER-1732 we have made two fields "don't care" 
and we update the epoch value. The epoch value is causing the comparison to 
fail, but I think that the "don't care" values also have to be updated in the 
way I propose, otherwise the comparison will fail too, no? 

"newEpoch - 1" sounds like a hack to me, not a principled solution. I need to 
think a bit more about this one.

> "Don't care" value in ZooKeeper election breaks rolling upgrades
> ----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1805
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1805
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>            Priority: Blocker
>         Attachments: ZOOKEEPER-1805.patch, ZOOKEEPER-1805.patch
>
>
> This is an issue that has been originally reported in ZOOKEEPER-1732.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to