[Openais] cpg_join and CS_ERR_TRY_AGAIN

Steven Dake sdake at redhat.com
Wed Nov 18 07:21:48 PST 2009


On Wed, 2009-11-18 at 14:01 +0100, Dietmar Maurer wrote:
> I just noticed that cpg_join return CS_ERR_TRY_AGAIN, but it joins the group anyways. Is that expected?
> 
No.  How do you know it joined the group?  How do you reproduce?

Regards
-steve

> Also, I get that CS_ERR_TRY_AGAIN many times, so how should I call it:
> 
> while ((result = cpg_join(mdb->cpg_handle, &mdb->cpg_group_name)) == CS_ERR_TRY_AGAIN) 
> 	sleep (1);
> 
> Or is there a better way?
> 
> - Dietmar
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list