[Cluster-devel] [PATCH] cman: make RRP mode passive the default
Jan Friesse
jfriesse at redhat.com
Tue Aug 23 07:32:53 UTC 2011
Reviewed-by: Jan Friesse <jfriesse at redhat.com>
Fabio M. Di Nitto napsal(a):
> 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-devel
mailing list