Re: Race conditions in 019_replslot_limit.pl - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: Race conditions in 019_replslot_limit.pl
Date
Msg-id 20220216.150938.760580034521958485.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: Race conditions in 019_replslot_limit.pl  (Masahiko Sawada <sawada.mshk@gmail.com>)
List pgsql-hackers
At Wed, 16 Feb 2022 14:58:23 +0900, Masahiko Sawada <sawada.mshk@gmail.com> wrote in 
> On Wed, Feb 16, 2022 at 2:26 PM Kyotaro Horiguchi
> <horikyota.ntt@gmail.com> wrote:
> >
> > At Tue, 15 Feb 2022 15:51:57 -0800, Andres Freund <andres@anarazel.de> wrote in
> > > I guess it's conceivable that the backend was still working through process
> > > shutdown? But it doesn't seem too likely, given that several other connections
> > > manage to get through entire connect / disconnect cycles?
> >
> > Yes, but since postmaster seems thinking that process is gone.
> 
> Or it's possible that the process took a time to clean up the
> temporary replication slot?

Ugg, it's immediate shutdown.  So postmaster kills the walsender no
matter what state the waldender is under, nd leaves no log about the
end ofwalsender.

Sorry for the confusion.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: Race conditions in 019_replslot_limit.pl
Next
From: Justin Pryzby
Date:
Subject: Re: Adding CI to our tree