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

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

Hi,

On Mon, 20 Apr 2026 at 01:47, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:

> > 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
>
>
Thanks Daniel! Glad to hear it's being addressed. I would be happy to
test the patchset when it's posted.

Regards,
Ayush

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniil Davydov 2026-04-20 06:11:48 Re: Typos in the code and README
Previous Message Ayush Tiwari 2026-04-20 06:06:27 [PATCH] Reject ENCODING option for COPY TO FORMAT JSON