Re: Timeline switching with partial WAL records can break replica recovery

2025-09-10 Thread Alyona Vinter
Hi! I've noticed an issue with pg_rewind caused by my patches. Some logs for issue demonstration: pg_rewind: Source timeline history: pg_rewind: 1: 0/ - 0/03002048 pg_rewind: 2: 0/03002048 - 0/ pg_rewind: Target timeline history: pg_rewind: 1: 0/ - 0/ pg_rewind: se

Re: Timeline switching with partial WAL records can break replica recovery

2025-09-02 Thread Alyona Vinter
Hi hackers, I've found an error in my previous patch and have attached a fixed version. I'd also like to clarify the timeline switching bug scenario that this patch fixes: The issue occurs in this cluster configuration: [ master ] → [ cascade replica ] → [ replica ] When the master is lost and t

Re: Timeline switching with partial WAL records can break replica recovery

2025-09-02 Thread Alyona Vinter
On Wed, 3 Sept 2025 at 12:37, Alyona Vinter wrote: > I've found an error in my previous patch and have attached a fixed version. > Sorry, I've sent the wrong patches again. Here the correct ones From c947c47c95c625520f2eef2183e1f42594bf0c83 Mon Sep 17 00:00:00 2001 From: Alena Vinter Date: Mon,