Re: Stabilize and shorten test_checksums/013_rewind test - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: Stabilize and shorten test_checksums/013_rewind test
Date
Msg-id CAN55FZ1h+wTOpGRV2Tdo-mHPCPWDO_Lj-T304mmMs3ZACW8t_w@mail.gmail.com
Whole thread
In response to Re: Stabilize and shorten test_checksums/013_rewind test  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Stabilize and shorten test_checksums/013_rewind test
List pgsql-hackers
Hi,

On Mon, 28 Sept 2026 at 12:46, Daniel Gustafsson <daniel@yesql.se> wrote:
>
> I've been looking at this patch and have tested it extensively both on local
> hardware and CI instances.  Copilot review pointed out one thing which I think
> is accurate (though unlikely to happen), if the START WAL LOCATION and
> CHECKPOINT LOCATION straddle segments then the test would fail.  Extracting the
> WAL filename from $shutdown_ckpt is the safer option.  That fix and some commit
> message tweaking are the only changes in the attached v4.

Thanks, v4 LGTM.

There is one more issue found by an LLM: the checkpoint record itself
can straddle two WAL segments. However, I think this is a very rare
corner case and might not be worth fixing.

-- 
Regards,
Nazir Bilal Yavuz
Microsoft



pgsql-hackers by date:

Previous
From: Nisha Moond
Date:
Subject: Fix apply worker crash when subscriber table has only a deferrable primary key
Next
From: Daniel Gustafsson
Date:
Subject: Re: Stabilize and shorten test_checksums/013_rewind test