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 |