Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Twitter Mesos Q3 Sprint 5
-
3
Description
When aggregating futures with collect, one may discard the outer future:
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!
Discard requests should propagate down into the inner futures being collected.