Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication
Ashutosh Sharma <ashu.coek88@gmail.com>
From: Ashutosh Sharma <ashu.coek88@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Hou, Zhijie/侯 志杰 <houzj.fnst@fujitsu.com>, shveta malik <shveta.malik@gmail.com>, Ajin Cherian <itsajin@gmail.com>, SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-14T12:31:39Z
Lists: pgsql-hackers
Attachments
- 0002-Add-FIRST-N-and-N-.-priority-syntax-to-synchronized_.patch (application/octet-stream) patch 0002
- 0001-Add-ANY-N-semantics-to-synchronized_standby_slots.patch (application/octet-stream) patch 0001
- 0003-Refactor-syncrep-parsing-to-represent-bare-standby-l.patch (application/octet-stream) patch 0003
On Tue, Apr 14, 2026 at 4:56 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Tue, Apr 14, 2026 at 4:26 PM Ashutosh Sharma <ashu.coek88@gmail.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.