Re: [Nbd] Restart without killing clients
- To: Wouter Verhelst <w@...112...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>
- Subject: Re: [Nbd] Restart without killing clients
- From: Alex Bligh <alex@...872...>
- Date: Thu, 6 Oct 2016 15:22:26 +0100
- Message-id: <0B87FE21-C58C-474E-970D-49641ABE03F9@...872...>
- In-reply-to: <20161006141341.hx2j5gbkamlkxvrf@...3...>
- References: <20161006124335.fovtedvlv6fzom7v@...3...> <B030DCDD-11F7-4A08-86AB-558DF0926ECD@...872...> <20161006141341.hx2j5gbkamlkxvrf@...3...>
Wouter,
> That last step is going to be pretty horrible though.
Indeed: you are trying to pass a live socket between
processes. I think handling server restarts gracefully
in the general case might be more worthwhile as
I suspect it would cover more scenarios. This would
make it work a bit like NFS-over-TCP reconnects. We
still might need some protocol changes (though I'm
not 100% convinced) - e.g. to say 'server restarting' -
but even if so, I can't help but think it would have
wider applicability.
--
Alex Bligh
Reply to: