[sheepdog] [PATCH 1/3] zookeeper: retry zk_create_seq_node on retryable error

Liu Yuan namei.unix at gmail.com
Wed May 29 15:00:49 CEST 2013


On 05/29/2013 06:37 PM, MORITA Kazutaka wrote:
> + * Note that this function can return ZOPERATIONTIMEOUT or ZCONNECTIONLOSS and
> + * the caller has to handle it.
>   */

It seems that zookeeper(v1.4.5) or upwards ( I didn't check it) return

ZINVALIDSTATE - zhandle state is either ZOO_SESSION_EXPIRED_STATE or
ZOO_AUTH_FAILED_STATE

for zoo_create.

Thanks,
Yuan



More information about the sheepdog mailing list