mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Review Request 65109: Fixed a bug about lingering executors.
Date Fri, 12 Jan 2018 02:33:31 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message