mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klues <>
Subject Re: Review Request 54442: Added SIGTERM handler to gracefully shutdown IOSwitchboard server.
Date Tue, 06 Dec 2016 19:55:17 GMT

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

(Updated Dec. 6, 2016, 7:55 p.m.)

Review request for mesos and Jie Yu.

Repository: mesos


When receiving a SIGTERM, the io switchboard process will forcibly
unblock the server from waiting on a connection before attempting to
drain its `stdoutFromFd` and `stderrFromFd` file descriptors. Once
these fds are drained (or they become invalid), the server will shut
itself down as per the normal exit route.

Diffs (updated)

  src/slave/containerizer/mesos/io/switchboard.cpp 0254bd2f37cedd90f37d7b3e38a9b47e3d0fc3a6

  src/slave/containerizer/mesos/io/switchboard_main.cpp aff6c2150bfe8086fd51b548cb6339acc23f78c9



make check

The real test is encapsulated in


Kevin Klues

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