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

Group::cancel can return a failed future if the membership is already cancelled

    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 API stipulates that a successful Future<bool> but with 'false' value should be returned.

      This can happen when:
      1) The cancel() operation is queued up due to connectivity issue but then invoked again by sync() the membership could be gone.
      2) Even if not delayed, in cancel() we first checked whether the membership exists in our local cache but the membership could have expired by then (or when we invoke zk->remove(...)) but we have yet to receive the update for it.

        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: