BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: azurezhao8369(at)gmail(dot)com
Subject: BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point
Date: 2023-12-24 15:02:45
Message-ID: 18258-1e2fd3058dda84b0@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18258
Logged by: azure young
Email address: azurezhao8369(at)gmail(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message Jonathan S. Katz 2023-12-24 17:16:31 Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends
Previous Message Haorong Xu 2023-12-23 08:22:21 Re: BUG #18257: Failed to build postgres, error occurred during linking