Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication

From: shveta malik <shveta(dot)malik(at)gmail(dot)com>
To: Ajin Cherian <itsajin(at)gmail(dot)com>
Cc: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, Japin Li <japinli(at)hotmail(dot)com>, surya poondla <suryapoondla4(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>, shveta malik <shveta(dot)malik(at)gmail(dot)com>
Subject: Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication
Date: 2026-04-09 10:02:04
Message-ID: CAJpy0uCA2mQQJ8KZfRTPv6P8xykhumkH2jBe7EKo7-s24Pw=qQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 9, 2026 at 9:55 AM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> On Thu, Apr 9, 2026 at 1:31 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
> >
> > Thanks Ajin. Would you be able to share the timing of test (complete
> > file) as well with this change in testfile.
>
> There was a small typo in the file I shared. (fixed and updated)
>
> The times are:
>
> # +++ tap check in src/test/recovery +++
> [14:22:31] t/053_synchronized_standby_slots_quorum.pl .. ok 6453
> ms ( 0.01 usr 0.00 sys + 0.36 cusr 0.49 csys = 0.86 CPU)
> [14:22:37]
> All tests successful.
> Files=1, Tests=14, 6 wallclock secs ( 0.02 usr 0.00 sys + 0.36 cusr
> 0.49 csys = 0.87 CPU)
> Result: PASS
>

Okay, looks good. 6 secs is far better than previous case of 60-100 secs.

thanks
Shveta

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-04-09 10:25:21 Re: Eliminating SPI / SQL from some RI triggers - take 3
Previous Message Evgeny Voropaev 2026-04-09 10:00:10 Re: Compress prune/freeze records with Delta Frame of Reference algorithm