-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54081/
-----------------------------------------------------------
Review request for mesos, Benjamin Mahler and Vinod Kone.
Bugs: MESOS-1648
https://issues.apache.org/jira/browse/MESOS-1648
Repository: mesos
Description
-------
The PID file is created and kept locked while master / agent binary is running
to prevent other instances with the same PID file location from starting.
Diffs
-----
src/Makefile.am dd1626d177b38a6613f18f32bb0668abbb5100e0
src/common/pid_file.hpp PRE-CREATION
src/common/pid_file.cpp PRE-CREATION
src/logging/logging.cpp 70d66a5c396f709e8f27ad0d51315ed6d257f73b
src/master/main.cpp fa7ba1310142a3bef71379ba37fded9b8390aae9
src/slave/main.cpp 8010f8e229e2d820649750c9db0456ecd1b854d3
src/tests/common/pid_file_tests.cpp PRE-CREATION
Diff: https://reviews.apache.org/r/54081/diff/
Testing
-------
Added test to verify that PID file is created upon `PIDFile` object creation
and deleted upon its destruction. Ran `make check`.
Thanks,
Ilya Pronin