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: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: 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-10-29 12:37:50
Message-ID: CAHGQGwFOxAaYH90a=zZCeFgpCVVBdMBjJbB1LXBQ=ONk+A2OiA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 13, 2026 at 4:17 PM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> On second thought, we can simplify the test by waiting for the postmaster to
> log "all server processes terminated; reinitializing" instead of using
> another backend connection to detect the crash. This ensures that the
> postmaster has detected the crash and started restarting. The attached
> patch takes this approach. Thoughts?

Barring any objections, I will commit this patch.

Regards,

--
Fujii Masao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bohyun Lee 2026-10-29 12:55:17 Re: pg_upgrade doesn't copy ICU rules on template0
Previous Message Shlok Kyal 2026-10-29 12:32:16 Re: Per-table resync for logical replication subscriptions