Re: Making pg_rewind faster

From: John H <johnhyvr(at)gmail(dot)com>
To: Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, wenhui qiu <qiuwenhuifx(at)gmail(dot)com>, Japin Li <japinli(at)hotmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Andres Freund <andres(at)anarazel(dot)de>, Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Justin Kwan <justinpkwan(at)outlook(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, vignesh ravichandran <admin(at)viggy28(dot)dev>, "hlinnaka(at)iki(dot)fi" <hlinnaka(at)iki(dot)fi>
Subject: Re: Making pg_rewind faster
Date: 2025-10-21 23:14:55
Message-ID: CA+-JvFsbvQ+cPGFRS4gnzjfL3G515w8bgQww3tEgN=uHxLmM8w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Srinath,

On Mon, Oct 20, 2025 at 9:36 PM Srinath Reddy Sadipiralla
<srinath2133(at)gmail(dot)com> wrote:
> ...
> maybe something like this
> + "Expected WAL segment $corrupt_wal_seg to have later mtime
> on target than source after rewind as it was copied");
> + "Expected WAL segment $corrupt_wal_seg file sizes to be same
> between target and source after rewind as it was copied");
>

Made the changes and included the documentation update.

Thanks,
--
John Hsu - Amazon Web Services

Attachment Content-Type Size
v11-0001-Avoid-copying-WAL-segments-before-divergence-to-.patch application/octet-stream 19.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matheus Alcantara 2025-10-21 23:16:49 Re: LISTEN/NOTIFY bug: VACUUM sets frozenxid past a xid in async queue
Previous Message Peter Smith 2025-10-21 22:51:41 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart