Benjamin Mahler created MESOS-3426:
--------------------------------------

             Summary: 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


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)

Reply via email to