Re: Improve pg_sync_replication_slots() to wait for primary to advance

From: Andres Freund <andres(at)anarazel(dot)de>
To: "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, Yilin Zhang <jiezhilove(at)126(dot)com>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Japin Li <japinli(at)hotmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improve pg_sync_replication_slots() to wait for primary to advance
Date: 2025-12-17 17:09:25
Message-ID: dmf6zaukrt2wvgmfuosds4fek736tgfusah5tcxezfyqkbqcji@u23aqv4rw5t7
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2025-12-17 10:28:28 +0000, Zhijie Hou (Fujitsu) wrote:
> On Monday, December 15, 2025 7:06 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> >
> > On Fri, Dec 12, 2025 at 8:53 AM shveta malik <shveta(dot)malik(at)gmail(dot)com>
> > wrote:
> > >
> > > On Fri, Dec 12, 2025 at 5:35 AM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
> > > >
> > > >
> > > > I have included these changes as well as comments by Chao. Attaching
> > > > v37 with the changes.
> > > >
> > >
> > > Thanks. v37 LGTM.
> > >
> >
> > Pushed.
>
> My college reported a related BF failure[1] to me off-list.

FWIW, this also fails semi-regularly in CI. E.g.
https://cirrus-ci.com/task/6281872222715904
https://cirrus-ci.com/task/5243530626465792

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-12-17 17:11:35 Re: Visibility bug in tuple lock
Previous Message Andres Freund 2025-12-17 17:06:31 Re: Updating IPC::Run in CI?