Re: Fix XLogFileReadAnyTLI silently applying divergent WAL from wrong timeline

From: Ants Aasma <ants(dot)aasma(at)cybertec(dot)at>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix XLogFileReadAnyTLI silently applying divergent WAL from wrong timeline
Date: 2026-02-20 17:53:35
Message-ID: CANwKhkP8UBzLQLTDFBY7m32DH8Mq0Lmo9u+nkYFSEGByWa3KDg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 20 Feb 2026 at 15:09, Andrey Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
> We hit an interesting bug(?) in archive recovery during a planned HA
> switchover. One of standbys followed wrong timeline.
> I think I saw this problem before in pgsql-hackers but googling didn't help.

I saw something very similar some time ago. [1]

[1] https://postgr.es/m/CANwKhkMN3QwAcvuDZHb6wsvLRtkweBiYso-KLFykkQVWuQLcOw@mail.gmail.com

Regards,
Ants Aasma

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anthonin Bonnefoy 2026-02-20 17:55:33 Shutdown indefinitely stuck due to unflushed FPI_FOR_HINT record
Previous Message Daniel Gustafsson 2026-02-20 17:53:19 Re: ecdh support causes unnecessary roundtrips