From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Assertion failure on PG15 with modified test_shm_mq test |
Date: | 2022-08-18 01:09:46 |
Message-ID: | 20220818010946.lyw4smrsqfarilml@awork3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2022-08-17 15:02:28 +0900, Michael Paquier wrote:
> On Wed, Aug 17, 2022 at 11:15:28AM +0530, Pavan Deolasee wrote:
> > I notice that pgstat_shutdown_hook() is registered as a before-shmem-exit
> > callback. The callback is responsible for detaching from the pgstat shared
> > memory segment. But looks like other parts of the system still expect it to
> > be available during later stages of proc exit.
> >
> > It's not clear to me if pgstat shutdown should happen later or code that
> > gets executed later in the cycle should not try to use pgstat. It's also
> > entirely possible that my usage of SharedFileSet is completely wrong. If
> > that's the case, please let me know the mistake in the usage.
>
> That's visibly an issue with shared memory and the stats. I have
> added an open item. Andres?
I don't think there's anything reasonably done about this for 15, as explained
upthread. We need a big redesign of the shutdown sequence at some point, but
...
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2022-08-18 01:32:14 | Re: POC: GROUP BY optimization |
Previous Message | Michael Paquier | 2022-08-18 00:39:02 | Re: shadow variables - pg15 edition |