cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] cman: make RRP mode passive the default
@ 2011-08-23  7:27 Fabio M. Di Nitto
  2011-08-23  7:32 ` Jan Friesse
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio M. Di Nitto @ 2011-08-23  7:27 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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@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",
-- 
1.7.4.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Cluster-devel] [PATCH] cman: make RRP mode passive the default
  2011-08-23  7:27 [Cluster-devel] [PATCH] cman: make RRP mode passive the default Fabio M. Di Nitto
@ 2011-08-23  7:32 ` Jan Friesse
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Friesse @ 2011-08-23  7:32 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Reviewed-by: Jan Friesse <jfriesse@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@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",



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-23  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23  7:27 [Cluster-devel] [PATCH] cman: make RRP mode passive the default Fabio M. Di Nitto
2011-08-23  7:32 ` Jan Friesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).