[sheepdog] [PATCH v2] zookeeper: exit program on unrecoverable error

Kai Zhang kyle at zelin.io
Mon Jun 17 07:26:31 CEST 2013


On Jun 17, 2013, at 11:42 AM, MORITA Kazutaka <morita.kazutaka at gmail.com> wrote:

> If zk_queue_peek() returns false, zk_event_handler() can call
> kick_block_event() and sd_block_handler() can be called before any
> other zk operations?

I see.
You are right, we should panic out currently.
However, I think the ideal way is to wait until reconnected and clean the blocked events.
Is that right?

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


More information about the sheepdog mailing list