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

Kai Zhang kyle at zelin.io
Mon Jun 17 04:26:28 CEST 2013


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

> On the second thought, this patch doesn't seem to break epoch
> directly.  However, without this patch, zk_queue_peek() can return
> false wrongly when the session timeout happens and sheep can start a
> block operation while another block operation is ongoing.  This might
> be the reason I saw a epoch corruption, but I'm not sure now.
> 

I think another block operation cannot be started because the session has timeout and any zookeeper operation will fail.


> Anyway, my patch is smaller and simpler than yours and it's easier for
> me to rebase mine onto yours.  I'll update my patch after merging your
> series.

Thanks for this!

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


More information about the sheepdog mailing list