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

From: Osama Abdul Qader <osamaabdulqaderpostgres(at)gmail(dot)com>
To: Jan Nidzwetzki <jan(at)planetscale(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:39:09
Message-ID: CAAprpiCy9oVVVkWnLQ464wkE3yuPP_zc5O2Kd8CCV37ShPpu=w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Jan

On Sat, 28 Nov 2026 at 13:45, Jan Nidzwetzki <jan(at)planetscale(dot)com> wrote:

> 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
>
>
Thanks for registering it at commitfest, I've added myself as reviewer
there and let's work together further to make this patch extremely
beneficial in future PostgreSQL version releases.

With Best Regards,
Osama Abdul Qader
independent Contributor

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ishjaap Singh 2026-11-28 09:16:35 Re: [PATCH] psql: Fix REPACK index completion after a column list
Previous Message Rafia Sabih 2026-11-28 08:17:05 Re: Bypassing cursors in postgres_fdw to enable parallel plans