You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2013/11/12 00:20:17 UTC
[jira] [Commented] (MESOS-807) Discard is not propagated in
process::dispatch.
[ https://issues.apache.org/jira/browse/MESOS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819579#comment-13819579 ]
Jie Yu commented on MESOS-807:
------------------------------
Review:
https://reviews.apache.org/r/15319/
> Discard is not propagated in process::dispatch.
> -----------------------------------------------
>
> Key: MESOS-807
> URL: https://issues.apache.org/jira/browse/MESOS-807
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.15.0
> Reporter: Jie Yu
> Assignee: Jie Yu
>
> We would expect these two operations to behave the same:
> Future<T> f = p->foo();
> f.discard(); // Discards the future returned by foo().
> Future<T> f = dispatch(p, P::foo);
> f.discard(); // Currently, this will not discard the future returned by
> // foo(), only discards the dispatch promise's future.
--
This message was sent by Atlassian JIRA
(v6.1#6144)