Re: Standby writes pages past minRecoveryPoint after crash recovery

From: Jan Nidzwetzki <jan(at)planetscale(dot)com>
To: shihao zhong <zhong950419(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Subject: Re: Standby writes pages past minRecoveryPoint after crash recovery
Date: 2026-12-04 10:22:51
Message-ID: 3df3178e-ab1b-4aa8-8bb6-91b9daf1840c@planetscale.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Shihao,

On 04.12.26 04:47, shihao zhong wrote:
> Thanks all for the review and testing. The attached v2 uses the
> LW_SHARED check as suggested.

Thanks for the quick v2. I reran my tests, both with v2 alone and with
my patch [1]. The results match what I saw with v1: each test fails only
if its fix is missing. The combined case is rewound only when both
patches are applied, and with both patches the recovery and pg_rewind
suites pass.

So, the patch looks good to me.

[1] https://postgr.es/m/0491e46f-a1c3-48db-b171-705ca95c8263@planetscale.com

Best regards
Jan

--
Jan Nidzwetzki
PlanetScale

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2026-12-04 10:38:45 ci: macOS jobs are cancelled due to capacity constraints
Previous Message Michael Paquier 2026-12-04 10:21:15 Re: Backend goes in infinite loop when a GUC_REPORT value can’t be converted to client_encoding