-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65496/
-----------------------------------------------------------
(Updated Feb. 6, 2018, 9:42 a.m.)
Review request for mesos and Benjamin Mahler.
Changes
-------
Patch summary updated to reflect it is the second half of a fix.
Summary (updated)
-----------------
Fixed a bug relating to lingering executors [2/2].
Bugs: MESOS-8411
https://issues.apache.org/jira/browse/MESOS-8411
Repository: mesos
Description
-------
A task-less v1 executor could linger if the agent fails before
any of the executor's initial tasks got delivered.
This patch fixes this issue by checking if an executor is
task-less during the executor `subscribe()` and shutdown
the executor accordingly.
Diffs (updated)
-----
src/slave/slave.cpp a6a5c93ab2d541c870cb52587495de20ed5ac1f4
Diff: https://reviews.apache.org/r/65496/diff/2/
Changes: https://reviews.apache.org/r/65496/diff/1-2/
Testing
-------
make check.
Dedicated test #65497
Thanks,
Meng Zhu