cluster: STABLE3 - cman: don't set token_retransmits_before_loss_const

Christine Caulfield chrissie at fedoraproject.org
Mon Jan 18 13:16:08 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=b75bae233cbf845f85ed1c1b25b41f336d19beb4
Commit:        b75bae233cbf845f85ed1c1b25b41f336d19beb4
Parent:        6552110fd20295d0f5244b7e2f87735545d2110e
Author:        Christine Caulfield <ccaulfie at redhat.com>
AuthorDate:    Mon Jan 18 13:12:52 2010 +0000
Committer:     Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Mon Jan 18 13:12:52 2010 +0000

cman: don't set token_retransmits_before_loss_const

corosync has a better idea than us for what this value should be
so don't set it.

Things seem to run better this way :S

Signed-off-by: Christine Caulfield <ccaulfie at redhat.com>
---
 cman/daemon/cman-preconfig.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 00a5330..5036a27 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -694,10 +694,6 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
 			objdb->object_key_create_typed(object_handle, "token",
 						       tmp, strlen(tmp)+1, OBJDB_VALUETYPE_STRING);
 		}
-		if (objdb_get_string(objdb, object_handle, "token_retransmits_before_loss_const", &value)) {
-			objdb->object_key_create_typed(object_handle, "token_retransmits_before_loss_const",
-						       "20", strlen("20")+1, OBJDB_VALUETYPE_STRING);
-		}
 
 		/* Extend consensus & join timeouts per bz#214290 */
 		if (objdb_get_string(objdb, object_handle, "join", &value)) {


More information about the cluster-commits mailing list