Re: pg_rewind reports "no rewind required" due to stale minRecoveryPoint

From: Jan Nidzwetzki <jan(at)planetscale(dot)com>
To: Osama Abdul Qader <osamaabdulqaderpostgres(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, hlinnaka(at)iki(dot)fi
Subject: Re: pg_rewind reports "no rewind required" due to stale minRecoveryPoint
Date: 2026-11-28 08:15:31
Message-ID: a7190c6b-ca20-4a87-adfa-f7c361276f4b@planetscale.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Osama,

On 27.11.26 23:13, Osama Abdul Qader wrote:
>
> Let me know if you've registered the bug in commitfest and Thank you for
> your service and I hope that this patch becomes extremely beneficial to
> upcoming PostgreSQL versions.

Thanks for testing the patch and for confirming that the TAP test fails
without the fix and passes with it.

The patch is now registered in the Commitfest:
https://commitfest.postgresql.org/patch/7744/

Feel free to add yourself as a reviewer there.

For context, I found this issue while working on two related pg_rewind
problems:

- pg_rewind and hint bits leads to visibility corruption [1] (CF 7693)
- pg_rewind --source-pgdata ignores minRecoveryPoint of a stopped
standby [2] (CF 7745)

All three are pg_rewind bugs that involve a standby, either as the
target or the source. However, each one has an independent fix.

Best regards
Jan

[1]
https://www.postgresql.org/message-id/CAHebB-qQZaE9yhtUhMMS4ausPYp2PN%2BXyyhN7fCNe43x%3D-o8Ew%40mail.gmail.com
[2]
https://www.postgresql.org/message-id/51de3e6e-01de-4740-ad11-1bf69ff0d68d%40planetscale.com

--
Jan Nidzwetzki
PlanetScale

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafia Sabih 2026-11-28 08:17:05 Re: Bypassing cursors in postgres_fdw to enable parallel plans
Previous Message Hannu Krosing 2026-11-28 07:25:41 Re: Storing Property Graphs like Views (as a serialized analyzed parse tree)