[sheepdog] [PATCH v3 2/2] cluster driver: handle pending block/notify event during reconnect
Kai Zhang
kyle at zelin.io
Tue Jul 9 08:32:51 CEST 2013
On Jul 9, 2013, at 12:36 PM, Liu Yuan <namei.unix at gmail.com> wrote:
> Well, I think we should handle it as blocking event
>
> 1 ->notify() was called successfully but sd_notify_handler due to timeout
> - simply call sd_notify_handler() to finish the request.
> 2 ->notify isn't called yet.
> - just requeue it
If ->notify() isn't called yet, or called unsuccessfully, it will not appeared in pending_notify_list.
However, you are right, we should call sd_notify_handler() to finish the request, other than
re-queue it.
I will update it soon.
Thanks,
Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130709/27060275/attachment-0004.html>
More information about the sheepdog
mailing list