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

From Daniel Gustafsson
Subject Re: [BUG] Race in online checksums launcher_exit()
Date
Msg-id DC203E71-0319-4832-8079-C8EE2260531C@yesql.se
Whole thread
In response to [BUG] Race in online checksums launcher_exit()  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
Responses Re: [BUG] Race in online checksums launcher_exit()
List 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




pgsql-hackers by date:

Previous
From: Paul A Jungwirth
Date:
Subject: Re: FOR PORTION OF does not recompute GENERATED STORED columns that depend on the range column
Next
From: Dmitry Dolgov
Date:
Subject: Re: BUG: jsonpath .split_part() bypasses lax-mode error suppression