[sheepdog] [PATCH v3 2/2] cluster driver: handle pending block/notify event during reconnect

Liu Yuan namei.unix at gmail.com
Tue Jul 9 08:57:23 CEST 2013


On Tue, Jul 09, 2013 at 02:32:51PM +0800, Kai Zhang wrote:
> 
> 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.

Ah yes, then gateway will retry the request for cluster driver error.

Thanks
Yuan



More information about the sheepdog mailing list