cluster: STABLE3 - cman init: add horrid workaround to some other issues

Fabio M. Di Nitto fabbione at fedoraproject.org
Mon Dec 14 17:49:37 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=49e51cf377ae3e4869666877a7f8d1bfb69d96c7
Commit:        49e51cf377ae3e4869666877a7f8d1bfb69d96c7
Parent:        48048a2d191630ab8d6c45d386d663e502e38d5f
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Mon Dec 14 18:49:03 2009 +0100
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Mon Dec 14 18:49:03 2009 +0100

cman init: add horrid workaround to some other issues

hopefully a proper fix will be available soon.

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 cman/init.d/cman.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index d391a77..bb917e6 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -518,6 +518,12 @@ start_cman()
 		sleep 0.2
 	done
 
+	# This is hopefully a temporary workaround to a couple of issues
+	# in corosync that would make the world hang foverever in some
+	# scenarios.
+	# Value of 15 is not random. Please do not lower it.
+	sleep 15
+
 	if ! cman_running; then
 		errmsg="$(cat $tmpfile)"
 		ret=1


More information about the cluster-commits mailing list