Обсуждение: BUG #18258: The redo of the drop db wal needs to forward the Min Recovery Point

Поиск
Список
Период
Сортировка

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

От
PG Bug reporting form
Дата:
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.