Re: core dumps in auto_prewarm, tests succeed - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: core dumps in auto_prewarm, tests succeed
Date
Msg-id 20240123182617.GA2376446@nathanxps13
Whole thread Raw
In response to Re: core dumps in auto_prewarm, tests succeed  (Nathan Bossart <nathandbossart@gmail.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: FEATURE REQUEST: Role vCPU limit/priority
Next
From: Peter Eisentraut
Date:
Subject: Re: generate syscache info automatically