Re: [BUG] Race in online checksums launcher_exit()
Ayush Tiwari <ayushtiwari.slg01@gmail.com>
From: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-20T06:08:49Z
Lists: pgsql-hackers
Hi, On Mon, 20 Apr 2026 at 01:47, Daniel Gustafsson <daniel@yesql.se> wrote: > > 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 > > Thanks Daniel! Glad to hear it's being addressed. I would be happy to test the patchset when it's posted. Regards, Ayush