Re: [BUG] Race in online checksums launcher_exit()

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUG] Race in online checksums launcher_exit()
Date: 2026-04-19 20:17:08
Message-ID: DC203E71-0319-4832-8079-C8EE2260531C@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 19 Apr 2026, at 22:09, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

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