[sheepdog] [PATCH] cluster/corosync: retry when CS_ERR_TRY_AGAIN is returned

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Sep 3 12:52:48 CEST 2012


At Mon, 03 Sep 2012 18:45:28 +0800,
Liu Yuan wrote:
> 
> On 09/03/2012 06:41 PM, MORITA Kazutaka wrote:
> > Isn't it a corosync problem?  Anyway, your corosync is too old (the
> > version was released more than two years ago).
> 
> Well, I have tried it with v1.4.2, still the same problem. So this patch
> only work with v2.x.x ?(I haven't tried with corosync 2.x.x).

I'm testing with both 2.0.1 and 1.4.1, but I've not ever encountered
such problems.  Retrying on CS_ERR_TRY_AGAIN error looks correct me.

How about sleeping 1 second before retrying?

Thanks,

Kazutaka



More information about the sheepdog mailing list