-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47082/
-----------------------------------------------------------
Review request for mesos and Jiang Yan Xu.
Bugs: MESOS-5143
https://issues.apache.org/jira/browse/MESOS-5143
Repository: mesos
Description
-------
When a slave is removed, master sends a LostSlaveMessage to affected
frameworks only (instead of all registered frameworks). An affected
framework is a framework which satisfied one or more conditions of
the following:
1. There are running tasks on this slave belonging to the framework.
2. Reserved resources on the slave have a matching role with the
role of the framework.
3. There are pending offers from this slave for the framework.
Diffs
-----
src/master/master.hpp 3e55114ee7866e06513071e86e15608099dae052
src/master/master.cpp 6d3e0f7c634690a35eec1ce827b705e04c3af87e
src/tests/master_authorization_tests.cpp
804b39a269c09df9f6c0bbdf6f8b53921ac09ce8
src/tests/master_tests.cpp 8e00753fcbcd0cae1d08aad387b08aa17c7f63ad
Diff: https://reviews.apache.org/r/47082/diff/
Testing
-------
All existing and modified tests passed.
Thanks,
Anindya Sinha