-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54496/
-----------------------------------------------------------
Review request for mesos, Jie Yu, Kevin Klues, and Vinod Kone.
Bugs: MESOS-6746
https://issues.apache.org/jira/browse/MESOS-6746
Repository: mesos
Description
-------
The switchboard never used to wait for the read end of the pipe
to finish processing the data before exiting. This was problematic
as the client connected to the output entrypoint might not receive
the data. Note that we are relying on `socket.close()` to
eventually ensure that the data is flushed to the client when the
socket is closed.
Diffs
-----
src/slave/containerizer/mesos/io/switchboard.cpp
4452d5ad26881487825e58a3a052e6d07bac2321
Diff: https://reviews.apache.org/r/54496/diff/
Testing
-------
make check (A test is added later in the chain that won't pass otherwise)
Thanks,
Anand Mazumdar