-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53407/
-----------------------------------------------------------
Review request for mesos, Alexander Rukletsov and Benjamin Mahler.
Bugs: MESOS-6457
https://issues.apache.org/jira/browse/MESOS-6457
Repository: mesos
Description
-------
The Docker executor would send health updates even after having
transitioned a task to `TASK_KILLING`. This plus the fact that health
updates always have the `TASK_RUNNING` state leads to `TASK_KILLING ->
TASK_RUNNING` transitions.
This patch makes the executor skip health updates after starting to kill
a task.
Diffs
-----
src/docker/executor.cpp ab3f0473fdc9105d1c425f0dbe7b81c566d541e8
Diff: https://reviews.apache.org/r/53407/diff/
Testing
-------
Test in the next patch in the chain.
Thanks,
Gastón Kleiman