cluster: STABLE3 - Make totem.fail_to_recv_const default to 2500
Christine Caulfield
chrissie at fedoraproject.org
Thu Apr 29 09:00:51 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6d250e9c15576aa1da9154b2581911cbd3ce394e
Commit: 6d250e9c15576aa1da9154b2581911cbd3ce394e
Parent: 077861319e8a8a7b08ae7599738cab50ba341744
Author: Christine Caulfield <ccaulfie at redhat.com>
AuthorDate: Thu Apr 29 10:00:13 2010 +0100
Committer: Christine Caulfield <ccaulfie at redhat.com>
CommitterDate: Thu Apr 29 10:00:13 2010 +0100
Make totem.fail_to_recv_const default to 2500
bz#587082
Signed-off-by: Christine Caulfield <ccaulfie at redhat.com>
---
cman/daemon/cman-preconfig.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index e8248b4..3582162 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -701,6 +701,11 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
objdb->object_key_create_typed(object_handle, "join",
"60", strlen("60")+1, OBJDB_VALUETYPE_STRING);
}
+ /* Extend fail_to_recv_const, see bz#587078 */
+ if (objdb_get_string(objdb, object_handle, "fail_to_recv_const", &value)) {
+ objdb->object_key_create_typed(object_handle, "fail_to_recv_const",
+ "2500", strlen("2500")+1, OBJDB_VALUETYPE_STRING);
+ }
/* consensus should be 2*token, see bz#544482*/
if (objdb_get_string(objdb, object_handle, "consensus", &value)) {
unsigned int token;
More information about the cluster-commits
mailing list