-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70449/
-----------------------------------------------------------
(Updated April 10, 2019, 11:55 p.m.)
Review request for mesos, Benjamin Bannier, Greg Mann, and Vinod Kone.
Summary (updated)
-----------------
Avoid publishing resources when an HTTP executor resubscribes.
Bugs: MESOS-9711
https://issues.apache.org/jira/browse/MESOS-9711
Repository: mesos
Description
-------
After an agent failover, an HTTP executor may resubscribe before
resource provider resubscriptions. If that happens and the executor
has tasks consuming resources from an unsubscribed resource provider,
the agent will fail to publish the resources and kill the executor,
which is an undesired behavior. The patch fixes this issue.
Diffs (updated)
-----
src/slave/slave.cpp 794a9c986b266b4916f6fbada670142798245bd1
src/tests/slave_tests.cpp b1c3a01031b917fb9773c8c890a8f88838870559
Diff: https://reviews.apache.org/r/70449/diff/3/
Changes: https://reviews.apache.org/r/70449/diff/2-3/
Testing
-------
make check
Thanks,
Chun-Hung Hsiao