----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65109/ -----------------------------------------------------------
Review request for mesos, Benjamin Mahler and Vinod Kone. Repository: mesos Description ------- An executor should be shutdown if it has never got any tasks i.e. all of its initial tasks are killed before launching. See MESOS-8411. This patch ensures this by checking an executor's various tasks queues during task kill and executor re-registration, and shutting down executors that had never received any tasks. Diffs ----- src/slave/constants.hpp e6cb7cc0ccdaaf981eb66defa21b38720f4e1de9 src/slave/slave.hpp ef0eae21af811cc09f43cd1d4c4ccc0c33cbeb39 src/slave/slave.cpp 0aa4e5e8e5965163ad44ead4dab92ed5ef2e2d8e Diff: https://reviews.apache.org/r/65109/diff/1/ Testing ------- make check new test in #65110 fails w/o the patch, passes with the patch Thanks, Meng Zhu
