[Openais] cpg_join and CS_ERR_TRY_AGAIN

Dietmar Maurer dietmar at proxmox.com
Wed Nov 18 05:01:27 PST 2009


I just noticed that cpg_join return CS_ERR_TRY_AGAIN, but it joins the group anyways. Is that expected?

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



More information about the Openais mailing list