You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/12/05 22:41:36 UTC

[jira] [Commented] (MESOS-867) ZK Membership IDs are 32 bit signed integers, not 64 bit unsigned integers.

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

Benjamin Mahler commented on MESOS-867:
---------------------------------------

https://reviews.apache.org/r/16045/

> ZK Membership IDs are 32 bit signed integers, not 64 bit unsigned integers.
> ---------------------------------------------------------------------------
>
>                 Key: MESOS-867
>                 URL: https://issues.apache.org/jira/browse/MESOS-867
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>             Fix For: 0.16.0
>
>
> The ZK Group code was written using 64 bit unsigned integers for the sequence numbers, however it is clearly documented that these are signed 32 bit integers that will overflow when 4 billion is reached:
> http://zookeeper.apache.org/doc/r3.1.2/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming
> This is something that can occur over a long period with significant churn, but we should fix it as the code does not handle it.



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