Re: core dumps in auto_prewarm, tests succeed

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: core dumps in auto_prewarm, tests succeed
Дата
Msg-id 20240123182617.GA2376446@nathanxps13
обсуждение исходный текст
Ответ на Re: core dumps in auto_prewarm, tests succeed  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Tue, Jan 23, 2024 at 12:22:58PM -0600, Nathan Bossart wrote:
> On Tue, Jan 23, 2024 at 06:33:25PM +0100, Alvaro Herrera wrote:
>> Does this actually detect a problem if you take out the fix?  I think
>> what's going to happen is that postmaster is going to crash, then do the
>> recovery cycle, then stop as instructed by the test; so pg_controldata
>> would report that it was correctly shut down.
> 
> Yes, the control data shows "in production" without it.  The segfault
> happens within the shut-down path, and the test logs indicate that the
> server continues shutting down without doing a recovery cycle:

I see that ->init turns off restart_after_crash, which might be why it's
not doing a recovery cycle.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FEATURE REQUEST: Role vCPU limit/priority
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: generate syscache info automatically