Re: Assertion failure on PG15 with modified test_shm_mq test

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Assertion failure on PG15 with modified test_shm_mq test
Дата
Msg-id YvyEdCRGQFG0soSn@paquier.xyz
обсуждение исходный текст
Ответ на Assertion failure on PG15 with modified test_shm_mq test  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Ответы Re: Assertion failure on PG15 with modified test_shm_mq test  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
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?
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: XLogBeginRead's header comment lies
Следующее
От: "wangw.fnst@fujitsu.com"
Дата:
Сообщение: RE: Perform streaming logical transactions by background workers and parallel apply