cman: make RRP mode passive the default
PATCH 1/1 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 <[email protected]>
--- cman/daemon/cman-preconfig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
cman/daemon/cman-preconfig.c +1 -1
@@ -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",
Signature · 1 line
1.7.4.4
PATCH 1/1 cman: make RRP mode passive the default
Reviewed-by Jan Friesse <[email protected]>
Fabio M. Di Nitto napsal(a):
Quoted 24 lines
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 <[email protected]>--- cman/daemon/cman-preconfig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)cman/daemon/cman-preconfig.c +1
-1@@ -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",