[
https://issues.apache.org/jira/browse/MESOS-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yan Xu closed MESOS-811.
------------------------
Resolution: Fixed
https://reviews.apache.org/r/15487/
> Group::cancel can return a failed future if the membership is already
> cancelled
> -------------------------------------------------------------------------------
>
> Key: MESOS-811
> URL: https://issues.apache.org/jira/browse/MESOS-811
> Project: Mesos
> Issue Type: Bug
> Reporter: Yan Xu
> Assignee: Yan Xu
> Fix For: 0.16.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)