Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Hou, Zhijie/侯 志杰 <houzj(dot)fnst(at)fujitsu(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication
Date: 2026-04-14 12:31:39
Message-ID: CAE9k0Pn_FpewF+88eh2BCzzVxdAhEn+GcdYwwVCqpw_SbEuCyw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 14, 2026 at 4:56 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Tue, Apr 14, 2026 at 4:26 PM Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com> wrote:
> >
> > Hou-san's suggestion to update the common syncrep parser logic for the
> > second patch is not included for now. I'll wait to hear from Amit and
> > others before deciding whether to incorporate it.
> >
>
> The idea was to keep it as a 0003 patch atop 0002. That will help to
> evaluate both your and Hou-San's approaches.
>
> --

Sure. Attached is the 0003 patch, based on Hou-San's suggestion, which
refactors the syncrep parser to explicitly represent bare standby
lists (i.e. those without the ANY or FIRST keyword). I've also
attached the two preceding patches for completeness.

--
With Regards,
Ashutosh Sharma.

Attachment Content-Type Size
0002-Add-FIRST-N-and-N-.-priority-syntax-to-synchronized_.patch application/octet-stream 20.8 KB
0001-Add-ANY-N-semantics-to-synchronized_standby_slots.patch application/octet-stream 38.8 KB
0003-Refactor-syncrep-parsing-to-represent-bare-standby-l.patch application/octet-stream 6.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shlok Kyal 2026-04-14 12:42:40 Re: Support EXCEPT for ALL SEQUENCES publications
Previous Message Shlok Kyal 2026-04-14 12:25:50 Re: Support EXCEPT for ALL SEQUENCES publications