[
https://issues.apache.org/jira/browse/MESOS-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Mahler updated MESOS-3426:
-----------------------------------
Shepherd: Jie Yu
Assignee: Benjamin Mahler
Sprint: Twitter Mesos Q3 Sprint 5
I'll take this since this affects the latest perf event isolation code.
> process::collect and process::await do not perform discard propagation.
> -----------------------------------------------------------------------
>
> Key: MESOS-3426
> URL: https://issues.apache.org/jira/browse/MESOS-3426
> Project: Mesos
> Issue Type: Bug
> Components: libprocess
> Reporter: Benjamin Mahler
> Assignee: Benjamin Mahler
>
> When aggregating futures with collect, one may discard the outer future:
> {code}
> Promise<int> p1;
> Promise<string> p2;
> Future<int, string> collect = process::collect(p1.future(), p2.future());
> collect.discard();
> // collect will transition to DISCARDED
> // However, p{1,2}.future().hasDiscard() remains false
> // as there is no discard propagation!
> {code}
> Discard requests should propagate down into the inner futures being collected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)