-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66283/
-----------------------------------------------------------
(Updated April 7, 2018, 5:52 p.m.)
Review request for mesos, Jason Lai and James Peach.
Changes
-------
Rename and proper state.
Summary (updated)
-----------------
Added support of `max_completion_time` in docker executor.
Bugs: MESOS-8725
https://issues.apache.org/jira/browse/MESOS-8725
Repository: mesos
Description (updated)
-------
If `TaskInfo.max_completion_time` is set, docker executor will kill
the task immediately. We reuse the `shutdown` method to achieve a
forced kill ignoring any `KillPolicy`.
Framework should only received a `TASK_FAILED` state with
`REASON_MAX_COMPLETION_TIME_REACHED` reason.
Diffs (updated)
-----
src/docker/executor.cpp 1d672112bae889cc9d19343a59e0ff66569785c4
Diff: https://reviews.apache.org/r/66283/diff/2/
Changes: https://reviews.apache.org/r/66283/diff/1-2/
Testing
-------
Thanks,
Zhitao Li