On 2006-02-02T01:56:27, [email protected] wrote:
> linux-ha CVS committal
>
> Author : andrew
> Host :
> Project : linux-ha
> Module : crm
>
> Dir : linux-ha/crm/crmd
>
>
> Modified Files:
> join_client.c
>
>
> Log Message:
> A small fudge to account for a situation that came up once in about 10,000
> CTS iterations.
>
> ===================================================================
> RCS file: /home/cvs/linux-ha/linux-ha/crm/crmd/join_client.c,v
> retrieving revision 1.37
> retrieving revision 1.38
> diff -u -3 -r1.37 -r1.38
> --- join_client.c 17 Jan 2006 13:23:35 -0000 1.37
> +++ join_client.c 2 Feb 2006 08:56:27 -0000 1.38
> @@ -47,6 +47,7 @@
> HA_Message *req = create_request(CRM_OP_JOIN_ANNOUNCE, NULL, NULL,
> CRM_SYSTEM_DC, CRM_SYSTEM_CRMD, NULL);
>
> + sleep(1); /* give the CCM time to propogate to the DC */
> crm_debug("Querying for a DC");
> send_msg_via_ha(fsa_cluster_conn, req);
Uhm can you please explain what exactly you're "fixing" here? Timing
fixes like this always make me nervous because they're prone to rely on
system/network speed, keepalive/deadtime etc...
Sincerely,
Lars Marowsky-Brée
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business -- Charles Darwin
"Ignorance more frequently begets confidence than does knowledge"
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/