Project: mesos
Issue MESOS-3426: process::collect and process::await do not perform discard propagation.
When aggregating futures with collect, one may discard the outer future: {code} Promise p1; Promise p2; Future 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.
Story points: 3