[sheepdog] [PATCH v7 3/7] sheep: rejoin cluster after a zookeeper session timeout

Kai Zhang kyle at zelin.io
Tue Jun 25 16:43:41 CEST 2013


On Jun 25, 2013, at 8:49 PM, Hitoshi Mitake <mitake.hitoshi at gmail.com> wrote:

> The timeout handling part which is implemented in this patchset
> (e.g. zoo_state(zhandle) == ZOO_EXPIRED_SESSION_STATE) is very
> useful, because current master of sheepdog doesn't handle it well. And
> it is causing problems in our internal use of sheepdog.
> 
> The reconnection part is also useful but the current patchset is big
> and not review friendly.
> 
> I think they can be separated ones. Could you make a smaller patchset
> which only solves the problem of zookeeper timeout? If you kindly make
> it, I'd like to merge it to the stable branch.

I see. But I think the only way to handle session timeout is the 'rejoin'.
Panic() means nothing.
Do you have any other idea?

Thanks,
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130625/f5fee8df/attachment-0004.html>


More information about the sheepdog mailing list