BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point
Date
Msg-id 18258-1e2fd3058dda84b0@postgresql.org
Whole thread Raw
List pgsql-bugs
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.


pgsql-bugs by date:

Previous
From: Haorong Xu
Date:
Subject: Re: BUG #18257: Failed to build postgres, error occurred during linking
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends