| From: | Jan Nidzwetzki <jan(at)planetscale(dot)com> |
|---|---|
| To: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tom Pang <tom(at)planetscale(dot)com>, Alena Vinter <dlaaren8(at)gmail(dot)com>, Stepan Neretin <slpmcf(at)gmail(dot)com>, Soumyadeep Chakraborty <soumyadeep2007(at)gmail(dot)com>, Mats Kindahl <mats(dot)kindahl(at)gmail(dot)com>, Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, shihao zhong <zhong950419(at)gmail(dot)com> |
| Subject: | Re: Open pg_rewind issues |
| Date: | 2026-12-04 20:18:53 |
| Message-ID: | 6e583d09-058b-476f-b413-0bec1b99dafc@planetscale.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Zsolt,
On 28.11.26 14:20, Zsolt Parragi wrote:
> I tried to find all related threads, combine them locally on a single
> branch, and do multiple LLM review/testing passes on them, and also a
> manual review of the combined branch.
Thank you for collecting these and compiling this great overview. I
would like to add two recent threads:
- Replay of CREATE DATABASE ... STRATEGY file_copy and a DROP of its
template, or of ALTER DATABASE ... SET TABLESPACE, can leave a database
empty. Michael Malis reported it in the context of a standby crash.
pg_rewind hits it silently, without a crash, when these commands run on
the new primary after the fork. I posted a patch series in that thread
today.
https://postgr.es/m/CANVD+MB_JL5ydxD8NUUGJsdEGB1+nW56-PnS8QTfUtW+w_V9+A@mail.gmail.com
- Shihao found that a standby that starts up via crash recovery (e.g., a
crashed primary which is restarted with standby.signal) can stop
updating minRecoveryPoint in the checkpointer until the checkpointer is
restarted, and can then write pages past that point. This impacts point
3: on such a node, my shutdown restartpoint patch has no effect without
Shihao's fix.
https://postgr.es/m/CAGRkXqQMo6LH+hFwkDoFEZV-BRLs1NOj_XV2O-Cdqf1YAxvnpA@mail.gmail.com
Best regards
Jan
--
Jan Nidzwetzki
PlanetScale
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2026-12-04 20:23:28 | Re: Assertion failure in GetSnapshotDataReuse() during promotion |
| Previous Message | Si, Evan | 2026-12-04 20:03:01 | Re: [PATCH] Clarify that ssl_groups is for any key exchange groups |