Re: Infinite loop in XLogPageRead() on standby

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
Cc: Ants Aasma <ants(dot)aasma(at)cybertec(dot)at>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, thomas(dot)munro(at)gmail(dot)com
Subject: Re: Infinite loop in XLogPageRead() on standby
Date: 2024-12-25 03:00:59
Message-ID: Z2t1a2Z4Q5XRF3fD@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2024-12-25 03:37:04 Proposal: add new API to stringinfo
Previous Message Zhijie Hou (Fujitsu) 2024-12-25 02:43:02 RE: Conflict detection for update_deleted in logical replication