[PATCH] ctdb/eventscripts: Reconfigure lock should be released quickly

Martin Schwenke martin at meltin.net
Tue Jan 14 16:56:03 MST 2014


Currently the lock is held until the corresponding eventscript
completes, since the process still exists.  If the regular part of an
eventscript hangs then the lock might unnecessarily be held for a long
time.

Change this so that the lock is released immediately after the
reconfiguration is complete.

This and other CTDB patches I'm posting are in my ctdb-wip branch:

  http://git.samba.org/?p=martins/samba.git;a=shortlog;h=refs/heads/ctdb-wip

Please do not push the whole branch - there is incomplete work
there.  :-)

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ctdb-eventscripts-Reconfigure-lock-should-be-release.patch
Type: text/x-patch
Size: 3597 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140115/15003933/attachment.bin>


More information about the samba-technical mailing list