summaryrefslogtreecommitdiff
path: root/ctdb/doc
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2016-08-05 14:17:01 +1000
committerMartin Schwenke <martins@samba.org>2016-08-08 08:17:34 +0200
commit1f942ec36c98127e25d7aa9b8370a4f621b9d362 (patch)
tree4d72b0815ed21048cf3c719fd54cf7abb43a0530 /ctdb/doc
parent88a579101537fb1ed5182c7c5da4ad49e0516546 (diff)
downloadsamba-1f942ec36c98127e25d7aa9b8370a4f621b9d362.tar.gz
ctdb-mutex: Avoid corner case where helper is already reparented to init
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12113 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc')
-rw-r--r--ctdb/doc/cluster_mutex_helper.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/doc/cluster_mutex_helper.txt b/ctdb/doc/cluster_mutex_helper.txt
index 0fc3a50dc7c..20c8eb2b51d 100644
--- a/ctdb/doc/cluster_mutex_helper.txt
+++ b/ctdb/doc/cluster_mutex_helper.txt
@@ -64,7 +64,8 @@ Valid status codes are:
If a 0 status code is sent then it the helper should periodically
check if the (original) parent processes still exists while awaiting
termination. If the parent process disappears then the helper should
-release the mutex and exit. This avoids stale mutexes.
+release the mutex and exit. This avoids stale mutexes. Note that a
+helper should never wait for parent process ID 1!
If a non-0 status code is sent then the helper can exit immediately.
However, if the helper does not exit then it must terminate if it