cluster: RHEL56 - cman: set fail_recv_const to 2500

Christine Caulfield chrissie at fedoraproject.org
Tue Jul 20 10:08:42 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=7550248d30fd9cb00a808b365c5f6a66667d2480
Commit:        7550248d30fd9cb00a808b365c5f6a66667d2480
Parent:        a0fd0b538c9f0ea6ea0f6290faeea7f99e2677f1
Author:        Christine Caulfield <ccaulfie at redhat.com>
AuthorDate:    Tue Jul 20 11:06:50 2010 +0100
Committer:     Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Tue Jul 20 11:06:50 2010 +0100

cman: set fail_recv_const to 2500

rhbz#587080

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

diff --git a/cman/daemon/ais.c b/cman/daemon/ais.c
index 787f0bd..a88cbcd 100644
--- a/cman/daemon/ais.c
+++ b/cman/daemon/ais.c
@@ -520,6 +520,11 @@ static int comms_init_ais(struct objdb_iface_ver0 *objdb)
 			global_objdb->object_key_create(object_handle, "join", strlen("join"),
 							"60", strlen("60")+1);
 		}
+		/* Extend fail_to_recv_const, see bz#587080 */
+		if (objdb_get_string(objdb, object_handle, "fail_recv_const", &value)) {
+			global_objdb->object_key_create(object_handle, "fail_recv_const", strlen("fail_to_recv_const"),
+							"2500", strlen("2500")+1);
+		}
 		/* consensus should be 2*token, see bz#544482*/
 		if (objdb_get_string(objdb, object_handle, "consensus", &value)) {
 		        unsigned int token=0;


More information about the cluster-commits mailing list