On Feb 2, 2006, at 5:03 PM, Lars Marowsky-Bree wrote:

On 2006-02-02T01:56:27, linux-ha-cvs@lists.linux-ha.org 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...

IIRC a BadNews popped up because the "hey we're here" (that we sent after the CCM told us we were in the membership) arrived at the DC before the CCM added the node to the membership.

Everything sorted itself out so the sleep isn't really necessary, it just complained a little along the way.

--
Andrew Beekhof

"No means no, and no means yes, and everything in between and all the rest" - TISM

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to