Re: [BUG] Take a long time to reach consistent after pg_rewind

From: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
To: surya poondla <suryapoondla4(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, cca5507 <cca5507(at)qq(dot)com>, solai v <solai(dot)cdac(at)gmail(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [BUG] Take a long time to reach consistent after pg_rewind
Date: 2026-11-20 08:19:27
Message-ID: CABPTF7WY5GY4W0hx9w_trdvc2me5eKroVc2+NXsOWejKXjs15g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 20, 2026 at 8:34 AM surya poondla <suryapoondla4(at)gmail(dot)com> wrote:
>
> Hi Fujii,
>
> Thanks for v5.
>
> I tested v5 on master, the patch looks good.
> Regarding backpatching, yes it can go to all supported versions.
>
> Regards,
> Surya Poondla

+1 for backpatching and v5 LGTM. Do we need a regression test for this
issue in master? It seems that 24723e7cf39, b1f14c96720 and the
$subject all suffer from the extra header skipping of
pg_current_wal_insert_lsn()/GetXLogInsertRecPtr(). Is it helpful to
say more about this function's hidden intricacy(maybe as a separate
patch)?

--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-11-20 08:21:05 Re: Avoid copying MinimalTuple twice in ExecHashSkewTableInsert()
Previous Message Bertrand Drouvot 2026-11-20 08:17:35 Re: pgstat: Flush some statistics within running transactions, take 2