-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21379/
-----------------------------------------------------------
Review request for mesos and Ben Mahler.
Bugs: MESOS-544
https://issues.apache.org/jira/browse/MESOS-544
Repository: mesos-git
Description
-------
First phase: Mesos-slave support for "node drain"
This phase handles the shutdown of the slave, triggered by SIGUSR1 signal:
* implement a signal handler which is invoked when SIGUSR1 signal is issued
* the signal handler will call the 'shutdown' method from the Slave class,
which shuts down all the frameworks and executors that run on the slave.
In the next phase, the slave will send an unregistration request to the master
in order to overcome the lag of the health check timer (75 sec).
Diffs
-----
src/messages/messages.proto 6f6e570b1018d8c54d4b8d811470086832792ec4
src/slave/slave.hpp a6efad4763a7180daad63689227b46e196e5e1a9
src/slave/slave.cpp 3a4ae38e06a1c23daafebf5421d996e649a07ca5
Diff: https://reviews.apache.org/r/21379/diff/
Testing
-------
Thanks,
Alexandra Sava