mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <>
Subject Re: Review Request 65109: Fixed a bug relating to lingering executors.
Date Mon, 29 Jan 2018 19:46:28 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 29, 2018, 11:46 a.m.)

Review request for mesos, Benjamin Mahler and Vinod Kone.


Patch updated. Thank you for the informative comments!

Bugs: MESOS-8411

Repository: mesos

Description (updated)

An executor should be shutdown if all of its tasks are
killed while the executor is launching.

This patch fixes and issue where the executor is left
running when the task(s) get killed between the executor
registration/subscription and `Slave::___run()`. See
MESOS-8411 for more details. There is an additional race
in the agent failover case that is addressed in this patch.

The fix here is to fix the race 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 (updated)

  src/slave/constants.hpp e6cb7cc0ccdaaf981eb66defa21b38720f4e1de9 
  src/slave/slave.hpp 09c01ebd1b5e8008ba9e7d412042f1db76a2c5a5 
  src/slave/slave.cpp a6a5c93ab2d541c870cb52587495de20ed5ac1f4 




make check
new tests in #65111


Meng Zhu

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