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

Additional Issues with contender related change

    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

      There are a few issues with the contender code in master, mostly with regard to semantic consistency of the APIs.

      1. When the detectors (ZooKeeperMasterDetector, LeaderDetector) fail, subsequent detect() calls should get a Failure directly.
      2. ZooKeeperMasterContenderProcess::master should be an option to codify the fact that it can be unset after construction.
      3. ZooKeeperMasterContenderProcess::contend should check if the future for the previous contend() is still pending and if so it should directly return that future without recontending.
      4. LeaderContender::withdraw() should alway return ‘false’ if there is no membership to withdraw.
      5. GroupProcess::abort() should set all owned memberships as cancelled.

        Attachments

          Activity

            People

            • Assignee:
              xujyan Yan Xu
              Reporter:
              xujyan Yan Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: