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.161224.1895701800767011322.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: Race conditions in 019_replslot_limit.pl  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
At Wed, 16 Feb 2022 15:22:27 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> At Wed, 16 Feb 2022 14:58:23 +0900, Masahiko Sawada <sawada.mshk@gmail.com> wrote in 
> > Or it's possible that the process took a time to clean up the
> > temporary replication slot?
> 
> Checkpointer may take ReplicationSlotControlLock. Dead lock between
> ReplicationSlotCleanup and InvalidateObsoleteReplicationSlots
> happened?

Or missing CV broadcast?  Anyway I haven't find a scenario of
interfering between checkpointer and walsender.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Observability in Postgres
Next
From: Julien Rouhaud
Date:
Subject: Re: Observability in Postgres