summaryrefslogtreecommitdiffstats
path: root/python/examples/dnsserver.py
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-12-18 13:51:22 +1100
committerAmitay Isaacs <amitay@gmail.com>2014-01-17 17:59:26 +1100
commit8eb20c23476d390bb8a12ba01c9f06e7ac4a1453 (patch)
tree1349b33669ed45405565014f89d87c18f3eb6a50 /python/examples/dnsserver.py
parente77d5f99e396d71c1d354b3f8dc5ddf9ba5c5ee9 (diff)
downloadsamba-8eb20c23476d390bb8a12ba01c9f06e7ac4a1453.tar.gz
samba-8eb20c23476d390bb8a12ba01c9f06e7ac4a1453.tar.xz
samba-8eb20c23476d390bb8a12ba01c9f06e7ac4a1453.zip
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>
Diffstat (limited to 'python/examples/dnsserver.py')
0 files changed, 0 insertions, 0 deletions