----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58485/ -----------------------------------------------------------
(Updated April 28, 2017, 3:42 p.m.) Review request for mesos, James Peach and Jiang Yan Xu. Changes ------- Rebased. Bugs: MESOS-7308 https://issues.apache.org/jira/browse/MESOS-7308 Repository: mesos Description ------- When a `DESTROY` is processed, we rescind all pending offers to which persistent volumes have been offered. As soon as we rescind an offer, the `Offer` object is freed; and hence, we should move on to the next offer (even though there are multiple volumes being destroyed in the same `ACCEPT` call). Diffs (updated) ----- src/master/master.cpp e8c2a96ff3407fb429e60cd9e66a8c4dc52b391b src/tests/persistent_volume_tests.cpp 3eb7afe3de8e72ffb6502dfe12ef37ccd4ca2125 Diff: https://reviews.apache.org/r/58485/diff/3/ Changes: https://reviews.apache.org/r/58485/diff/2-3/ Testing ------- Tests passed. Thanks, Anindya Sinha