[PATCH] Fix CTDB PID file handling

Martin Schwenke martin at meltin.net
Thu Sep 22 06:04:15 UTC 2016


At the moment ctdbd_wrapper is solid but multiple ctdbd's can start at
the same time.  If they overtake each other in interesting ways then
one ctdbd can exit early and remove another's PID file.

Add a PID file abstraction, use it, make PID file creation the first
action, clean up some surrounding code.

Please review and maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 19049 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160922/cdd56e43/ctdb.bin>


More information about the samba-technical mailing list