> On Dec. 8, 2016, 2:15 a.m., Kevin Klues wrote: > > src/slave/containerizer/mesos/io/switchboard.cpp, line 865 > > <https://reviews.apache.org/r/54518/diff/1/?file=1579626#file1579626line865> > > > > Do you mean: > > ``` > > if (WIFEXITED(status.get()) && WEXITSTATUS(status.get()) == 0) > > ```
yeah, they should be the same. But I'll use your way as it is more explicit. - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54518/#review158479 ----------------------------------------------------------- On Dec. 8, 2016, 1:46 a.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54518/ > ----------------------------------------------------------- > > (Updated Dec. 8, 2016, 1:46 a.m.) > > > Review request for mesos and Kevin Klues. > > > Bugs: MESOS-6756 > https://issues.apache.org/jira/browse/MESOS-6756 > > > Repository: mesos > > > Description > ------- > > Previously, we don't handle the case where reaping failed. This patch > refactored the reaping logic. The main idea is to register a 'reaped' > callback which gets invoked when the reaping of the I/O switchboard > server process has a result. This also changes the 'watch' logic. > > > Diffs > ----- > > src/slave/containerizer/mesos/io/switchboard.hpp > a8a1e2558432ae1e4c7e5513e5653feba4352056 > src/slave/containerizer/mesos/io/switchboard.cpp > af956951de9c605c68f6ec16a7edf3c33f4bd499 > > Diff: https://reviews.apache.org/r/54518/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jie Yu > >
