pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: zxwsbg@qq.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18119: Failed assert while recoverying from pg_basebackup
Date: Thu, 21 Sep 2023 07:34:24 +0900
Message-ID: <ZQtzcH2lvo8leXEr@paquier.xyz> (raw)
In-Reply-To: <18119-5f60199d6207f4d1@postgresql.org>
References: <18119-5f60199d6207f4d1@postgresql.org>

On Wed, Sep 20, 2023 at 01:12:52PM +0000, PG Bug reporting form wrote:
> This problem was first found in PG 15, see following link for details: 
> https://www.postgresql.org/message-id/flat/20230227.120101.1600358770821352577.horikyota.ntt%40gmail...
> 
> And it still exists in PG 16. 

Missing a recovery.signal prevents the startup process from
initializing some structures that may be required once consistency is
reached, in this case some of the facility for standby snapshots.
I've sent a patch about that, as well:
https://commitfest.postgresql.org/44/4244/

The problem is much older than the addition of checkpoints run during
crash recovery.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (2+ messages)

Message-ID: <ZQtzcH2lvo8leXEr@paquier.xyz>
Permalink:  ../ZQtzcH2lvo8leXEr@paquier.xyz/
Also on:    postgresql.org/message-id/ZQtzcH2lvo8leXEr@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, zxwsbg@qq.com
  Subject: Re: BUG #18119: Failed assert while recoverying from pg_basebackup
  In-Reply-To: <ZQtzcH2lvo8leXEr@paquier.xyz>
  References: <18119-5f60199d6207f4d1@postgresql.org> <ZQtzcH2lvo8leXEr@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox