cluster: STABLE3 - cman: Recalculate quorum on config change

Lon Hohberger lon at fedoraproject.org
Fri Jul 16 21:03:58 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1986a9b29d24cd16645504e9e2ae852d23a43239
Commit:        1986a9b29d24cd16645504e9e2ae852d23a43239
Parent:        bbda83e59f2ff0a2443f9980b36c0adefc2f3b63
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Fri Jul 16 16:44:00 2010 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Fri Jul 16 16:44:00 2010 -0400

cman: Recalculate quorum on config change

Resolves: rhbz#606989

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 cman/daemon/commands.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cman/daemon/commands.c b/cman/daemon/commands.c
index 2fe4ec9..2f62616 100644
--- a/cman/daemon/commands.c
+++ b/cman/daemon/commands.c
@@ -1202,6 +1202,7 @@ static int reread_config(int new_version)
 					     ccsd_timer_fn, &ccsd_timer);
 	}
 	else {
+		recalculate_quorum(1, 0);
 		send_transition_msg(0,0);
 	}
 


More information about the cluster-commits mailing list