Re: subscriptionCheck failures on nightjar - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: subscriptionCheck failures on nightjar
Date
Msg-id 20190813080435.GL2551@paquier.xyz
Whole thread Raw
In response to Re: subscriptionCheck failures on nightjar  (Andres Freund <andres@anarazel.de>)
Responses Re: subscriptionCheck failures on nightjar  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
On Wed, Feb 13, 2019 at 01:51:47PM -0800, Andres Freund wrote:
> I'm not yet sure that that's actually something that's supposed to
> happen, I got to spend some time analysing how this actually
> happens. Normally the contents of the slot should actually prevent it
> from being removed (as they're newer than
> ReplicationSlotsComputeLogicalRestartLSN()). I kind of wonder if that's
> a bug in the drop logic in newer releases.

In the same context, could it be a consequence of 9915de6c which has
introduced a conditional variable to control slot operations?  This
could have exposed more easily a pre-existing race condition.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "Smith, Peter"
Date:
Subject: RE: [Proposal] Table-level Transparent Data Encryption (TDE) andKey Management Service (KMS)
Next
From: Peter Eisentraut
Date:
Subject: Re: errbacktrace