1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00
Martin Schwenke 8eb20c2347 ctdb/eventscripts: Reconfigure lock should be released quickly
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.  The pathological case is when a monitor event gets stuck in
D-wait state and the script times out but can't be killed so the lock
is still held.  This can cause an unwanted monitor replay.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2014-01-17 17:59:26 +11:00
..
2013-11-19 17:13:06 +01:00
2013-10-24 16:54:08 +11:00
2013-10-30 15:37:54 +11:00
2007-06-07 22:16:48 +10:00
2006-11-18 10:41:20 +11:00
2007-07-10 18:13:47 +10:00
2009-02-07 08:10:34 +11:00
2006-11-18 10:41:20 +11:00
2013-11-27 18:46:17 +01:00
2010-07-30 16:37:22 +10:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.