Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-867

ZK Membership IDs are 32 bit signed integers, not 64 bit unsigned integers.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              bmahler Benjamin Mahler
              Reporter:
              bmahler Benjamin Mahler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: