Re: Failing assertion while taking a restartpoint during crash recovery - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Failing assertion while taking a restartpoint during crash recovery
Date
Msg-id CAHGQGwERPZ20j0-J15AVFA8G+DsGzhX+679_OX5Zta_8NDOJfA@mail.gmail.com
Whole thread
List pgsql-hackers
On Sun, Aug 16, 2026 at 2:14 AM Fujii Masao <masao.fujii@gmail.com> wrote:
> I've applied the cosmetic changes to the patch and created patches
> for the older branches.

Regarding the patch for v14, since the checkpointer is not started
during crash recovery in v14, it never runs a restartpoint during
crash recovery, so the reported issue cannot occur in the usual way.

But, a fast shutdown during crash recovery does run a restartpoint,
which can trigger the same assertion failure in v14. So the bug fix
should be backpatched to v14 as well, I think.

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Failing assertion while taking a restartpoint during crash recovery
Next
From: Rui Zhao
Date:
Subject: Re: [PATCH] Preserve replication origin OIDs in pg_upgrade