An interesting shutdown race in messaging

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jun 14 03:27:42 UTC 2017


On Tue, Jun 13, 2017 at 02:02:32PM -0700, Jeremy Allison wrote:
> On Tue, Jun 13, 2017 at 09:21:50PM +0200, Volker Lendecke via samba-technical wrote:
> > On Tue, Jun 13, 2017 at 10:32:41AM -0700, Jeremy Allison via samba-technical wrote:
> > > On Tue, Jun 13, 2017 at 12:45:24PM -0400, jim via samba-technical wrote:
> > > > Perhaps with a reasonable timeout in case one of the send targets is
> > > > unresponsive so shutdown/exit is not blocked for an excessive time.
> > > 
> > > Yep, allow a milisecond configurable timeout here.
> > 
> > From an implementation point of view possibly the all-blocking send is
> > simpler. If the auth log messages are needed for auditing and
> > compliance purposes, maybe they are good candidates for such a safe
> > delivery method that is able to return a proper error message
> > reliably.
> 
> So having a flag on the message send that says "deliver this synchronously" ?

Yes, that's what I meant. Or a separate messaging_send_iov_from_sync.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list