pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: azurezhao8369@gmail.com
Subject: BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point
Date: Sun, 24 Dec 2023 15:02:45 +0000
Message-ID: <18258-1e2fd3058dda84b0@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18258
Logged by:          azure young
Email address:      azurezhao8369@gmail.com
PostgreSQL version: 16.1
Operating system:   linux
Description:        

The redo of the drop db log needs to promptly advance the Min Recovery Point
(MRP).
because if the drop db wal is redone but the MRP is not advanced,
it means that the MRP is before the drop db, but the DB directory is
deleted.
If the standby restarts at this time and redoes,
for the directory does not exist,
there will be an invalid page related to this directory.
When it reaches the MRP, it triggers a consistency check, which will fail
and panic.



Message-ID: <18258-1e2fd3058dda84b0@postgresql.org>
Permalink:  ../18258-1e2fd3058dda84b0@postgresql.org/
Also on:    postgresql.org/message-id/18258-1e2fd3058dda84b0@postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, azurezhao8369@gmail.com
  Subject: Re: BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point
  In-Reply-To: <18258-1e2fd3058dda84b0@postgresql.org>

* 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