From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio M. Di Nitto Date: Tue, 23 Aug 2011 09:27:28 +0200 Subject: [Cluster-devel] [PATCH] cman: make RRP mode passive the default Message-ID: <1314084448-3784-1-git-send-email-fdinitto@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- 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", -- 1.7.4.4