cluster: STABLE31 - cman: make RRP mode passive the default
Fabio M. Di Nitto
fabbione at fedoraproject.org
Tue Aug 23 07:27:06 UTC 2011
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=98040b3146d843402026e3918e6ac563c4687919
Commit: 98040b3146d843402026e3918e6ac563c4687919
Parent: 68d8ae050e6d485a8013dc5b609f59b86ab65c81
Author: Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate: Tue Aug 23 09:25:52 2011 +0200
Committer: Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Aug 23 09:25:52 2011 +0200
cman: make RRP mode passive the default
RRP in active mode is still too fresh and needs some more work in corosync.
Put rrp_mode=passive as default and still allow users to tune it if they feel brave
enough.
Resolves: rhbz#732635
Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
cman/daemon/cman-preconfig.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 99aa532..4b8419e 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -984,7 +984,7 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
if (objdb_get_string(objdb, object_handle, "rrp_mode", &value)) {
if (num_interfaces > 1) {
objdb->object_key_create_typed(object_handle, "rrp_mode",
- "active", strlen("active")+1, OBJDB_VALUETYPE_STRING);
+ "passive", strlen("passive")+1, OBJDB_VALUETYPE_STRING);
}
else {
objdb->object_key_create_typed(object_handle, "rrp_mode",
More information about the cluster-commits
mailing list