Re: core dumps in auto_prewarm, tests succeed
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Nathan Bossart <nathan@postgresql.org>
Date: 2024-01-23T18:26:17Z
Lists: 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
Commits
-
Fix crash in autoprewarm.
- bcd5b4bcbefc 17.0 landed