cluster/cman/daemon ais.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: pcaulfield at sourceware.org 2006-11-09 13:50:42
Modified files:
cman/daemon : ais.c
Log message:
Set join_timeout and consensus_timeout to higher defaults as per bz#214920
cman/daemon/ais.c +11 -0
@@ -494,6 +494,17 @@ "20", strlen("20")+1); } +/* Extend consensus & join timeouts per bz#214290 */ +if (objdb_get_string (objdb, object_handle,"join" , &value)) { + global_objdb->object_key_create (object_handle,"join" ,strlen ("join" ), +"60" ,strlen ("60" )+1 ); + } +if (objdb_get_string (objdb, object_handle,"consensus" , &value)) { + global_objdb->object_key_create (object_handle,"consensus" ,strlen ("consensus" ), +"4800" ,strlen ("4800" )+1 ); + } + +/* Set RRP mode appropriately */ if (num_interfaces >1 ) { global_objdb->object_key_create(object_handle, "rrp_mode", strlen("rrp_mode"),