Re: [BUG] Race in online checksums launcher_exit() - Mailing list pgsql-hackers

From Ayush Tiwari
Subject Re: [BUG] Race in online checksums launcher_exit()
Date
Msg-id CAJTYsWUuCY+xeTyF_J5APNhCKkbJs2AdYUSuJRN4F_8YZfJ_8g@mail.gmail.com
Whole thread
In response to Re: [BUG] Race in online checksums launcher_exit()  (Daniel Gustafsson <daniel@yesql.se>)
List 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

pgsql-hackers by date:

Previous
From: Ayush Tiwari
Date:
Subject: [PATCH] Reject ENCODING option for COPY TO FORMAT JSON
Next
From: Daniil Davydov
Date:
Subject: Re: Typos in the code and README