Re: 041_checkpoint_at_promote.pl might fail due to race condition on child kill

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 041_checkpoint_at_promote.pl might fail due to race condition on child kill
Date: 2026-11-16 06:19:02
Message-ID: CAHGQGwGrZQSu3U9H2P876vQ-h1ODAGKTxZ0us8KTd2yZazb8tA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 16, 2026 at 2:26 PM Ayush Tiwari
<ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
> I think we should check STARTUP_SIGNALED even when the exit status is 0.
> Something like [2].

LGTM, thanks!

This should be backpatched to all supported versions?

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-11-16 06:35:57 Re: Assertion failure in update_local_synced_slot(), slotsync.c:364
Previous Message Rushabh Lathia 2026-11-16 06:14:38 Re: ORDER BY ALL