Re: [BUG] Race in online checksums launcher_exit()
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-19T20:17:08Z
Lists: pgsql-hackers
> On 19 Apr 2026, at 22:09, Ayush Tiwari <ayushtiwari.slg01@gmail.com> wrote: > > Hi hackers, > > While using the pg_enable_data_checksums() feature, I found a likely bug, a race condition in datachecksum_state.c's launcher_exit(). Thanks for your report. Tomas and I have worked over the past couple of days on a fixup series due to a rare race condition which was found after extensive longrunning testing. While hacking on that we identified what I believe is the same bug you found and we have a fix for that, the patchset will be shared very shortly (we am literally putting the final touches on it as I write this). I'll compare notes and will if applicable incorporate your patch into it. -- Daniel Gustafsson