| From: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
|---|---|
| To: | shihao zhong <zhong950419(at)gmail(dot)com> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org, suryapoondla4(at)gmail(dot)com, michael(at)paquier(dot)xyz, masao(dot)fujii(at)gmail(dot)com, jan(at)planetscale(dot)com |
| Subject: | Re: Standby writes pages past minRecoveryPoint after crash recovery |
| Date: | 2026-12-05 23:04:55 |
| Message-ID: | CAN4CZFMuFS-uXtE20rcvEg=ULaBf0iPanqrMOJxo9vRWA=J-_g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hello
The patch mostly LGTM, I only have a few nits
> This can happen since 7ff23c6d277
The bug reproduces on 14.24, so that seems unlikely. Claude identified
abf5c5c9a4f (9.3) as the origin.
Shouldn't the commit message mention the consequences? It can result
in corrupt backups (basebackup from the rejoined node and then
restore. amcheck reports 'xmin X equals or exceeds next valid
transaction ID') and early consistency (rejoined hot standby opens at
the stale point after a crash)
+min_wal_size = 32MB
does the test need this? It seems to work fine without it, it fails
consistently without the fix and this setting
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manu | 2026-12-05 23:09:24 | Internal errors when a concurrent DROP or DETACH wins the race in RangeVar callbacks |
| Previous Message | Tom Lane | 2026-12-05 22:40:37 | Re: Making type Datum be 8 bytes everywhere |