Re: Spurious pgstat_drop_replslot() call - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Spurious pgstat_drop_replslot() call
Date
Msg-id ZfDZIgkzQnkPpGsC@paquier.xyz
Whole thread Raw
In response to Re: Spurious pgstat_drop_replslot() call  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-hackers
On Tue, Mar 12, 2024 at 12:00:00PM +0300, Alexander Lakhin wrote:
> Sorry for a bit off-topic, but I've remembered an anomaly with a similar
> assert:
> https://www.postgresql.org/message-id/17947-b9554521ad963c9c%40postgresql.org

Thanks for the reminder.  The invalidation path with the stats drop is
only in 16~.

> Maybe you would find it worth considering while working in this area...
> (I've just run that reproducer on b36fbd9f8 and confirmed that the
> assertion failure is still here.)

Indeed, something needs to happen.  I am not surprised that it still
reproduces; nothing has changed with the locking of the stats entries.
:/
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Recent 027_streaming_regress.pl hangs
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel