-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18597/#review36501
-----------------------------------------------------------


Patch looks great!

Reviews applied: [18595, 18594, 18597]

All tests passed.

- Mesos ReviewBot


On March 3, 2014, 7:13 p.m., Niklas Nielsen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18597/
> -----------------------------------------------------------
> 
> (Updated March 3, 2014, 7:13 p.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Bugs: MESOS-1031
>     https://issues.apache.org/jira/browse/MESOS-1031
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This patch makes command executor shutdown a bit more graceful
> (than sending SIGKILL upfront) by adding signal escalation.
> Signal escalation checks for liveness of process trees after SIGTERM
> has been sent. If all processes are dead before the given gracePeriod,
> shutdown() returns. If not, SIGKILL will be sent to all pids in
> the process trees. gracePeriod is set to 3 seconds, in order to issue
> SIGKILL before shutdownTimeout in the slave is triggered
> (EXECUTOR_SHUTDOWN_GRACE_PERIOD is 5 seconds).
> 
> 
> Diffs
> -----
> 
>   src/launcher/executor.cpp e30d77a 
> 
> Diff: https://reviews.apache.org/r/18597/diff/
> 
> 
> Testing
> -------
> 
> Functional testing and make check.
> 
> 
> Thanks,
> 
> Niklas Nielsen
> 
>

Reply via email to