Re: Implement waiting for wal lsn replay: reloaded - Mailing list pgsql-hackers

From Xuneng Zhou
Subject Re: Implement waiting for wal lsn replay: reloaded
Date
Msg-id CABPTF7Vzw62jdBLREdB_a_g63EtMsRBEmf9oP6s1TQGzHSVVjg@mail.gmail.com
Whole thread Raw
In response to Re: Implement waiting for wal lsn replay: reloaded  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Apr 7, 2026 at 9:52 PM Andres Freund <andres@anarazel.de> wrote:
>
> Hi,
>
> On 2026-04-07 16:46:29 +0300, Alexander Korotkov wrote:
> > On Tue, Apr 7, 2026, 16:18 Andres Freund <andres@anarazel.de> wrote:
> > > On 2026-04-07 21:05:40 +0800, Xuneng Zhou wrote:
> > > > I’ve posted two patches. The first fixes the duplication issue
> > > > reported by Andres and is fairly straightforward. The second turned
> > > > out to be more complex than expected, and I’m still working through
> > > > possible solutions. Feedback or alternative approaches would be very
> > > > helpful.
> > > > I also spent some time drafting a patch to address the memory ordering
> > > > issue and will post it later.
> > >
> > > I propose quickly applying a minimal patch like the attached, to get the
> > > test
> > > performance back to normal.
> > >
> > > Will do so unless somebody protests within in one CI cycle and one coffee.
> > >
> >
> > I would be able to review them only after several hours. But +1 for
> > applying now to get rid of buildfarm slowdown.
>
> Done.

Thanks for dealing with it!

> Just to be clear, I didn't apply Xuneng's patches, just the minimal fix for
> the slowdown.
>

Ok, I don’t think that patch is in a committable state; posting it for
reference.

--
Best,
Xuneng



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: meson: Make test output much more useful on failure (both in CI and locally)
Next
From: Peter Eisentraut
Date:
Subject: Re: enable fallthrough warnings on clang