Re: Infinite loop in XLogPageRead() on standby
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alexander Kukushkin <cyberdemn@gmail.com>
Cc: Ants Aasma <ants.aasma@cybertec.at>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@postgresql.org, thomas.munro@gmail.com
Date: 2024-12-25T03:00:59Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix header check for continuation records where standbys could be stuck
- 0f0431e919f4 13.19 landed
- a2d4f806c4b9 14.16 landed
- 26554faccc97 15.11 landed
- 2c2e1d4f42c0 16.7 landed
- e6767c0ed16f 17.3 landed
- 6cf1647d87e7 18.0 landed
-
Move routines to manipulate WAL into PostgreSQL::Test::Cluster
- c9e50ce2a044 13.19 landed
- 50406b15540c 14.16 landed
- e5d113057d5f 15.11 landed
- 9420f9bb61e6 16.7 landed
- 149ed87e22ce 17.3 landed
- 32a18cc0a73d 18.0 landed
-
Prevent archive recovery from scanning non-existent WAL files.
- 4bd0ad9e44be 13.0 cited
-
Fix scenario where streaming standby gets stuck at a continuation record.
- 066871980183 11.0 cited
On Wed, Nov 13, 2024 at 02:18:06PM +0100, Alexander Kukushkin wrote: > Now that v17 is released and before v18 feature freeze we have a few > months, I hope you will find some time to look at it. My apologies for taking a couple of weeks before coming back to this thread. I have been informed a couple of days ago about a report which is showing the same symptoms as what you have reported. Please note that we have two other threads which refer to the same problem as what you have here: https://www.postgresql.org/message-id/15567-a9ff747c5e7c031c%40postgresql.org https://www.postgresql.org/message-id/CAJ%2BDhQaf9ZMkqPPnapu06mvMFe-b_K4NGF%2B-MV%2Be%3DJB2edF4cQ%40mail.gmail.com All of them refer to an infinite loop reachable in the startup process when we read an incorrect incomplete record just after a failover or when a WAL receiver restarts. Not sure which way is best in order to fix all of them in one shot, I am still considering what the possible options at hand are here. -- Michael