| From: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
|---|---|
| To: | Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> |
| Cc: | Alexander Lakhin <exclusion(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Stabilize recovery conflict stats checks in 031_recovery_conflict.pl |
| Date: | 2026-09-04 08:40:38 |
| Message-ID: | CAN55FZ0j5wDZ35HEM6zBBPfT1HY-YAqWGRVRQF0s8A=Rkwz96g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
On Fri, 4 Sept 2026 at 07:56, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
>
> On Fri, 4 Sept 2026 at 09:30, Alexander Lakhin <exclusion(at)gmail(dot)com> wrote:
> >
> > Hello Ayush and Fujii-san,
> >
> > 04.09.2026 06:07, Fujii Masao wrote:
> > > On Fri, Sep 4, 2026 at 6:48 AM Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
> > >> Thoughts?
> > > Thanks for the patches! They look good to me.
> >
> > Thank you for paying attention to my reports!
> >
> > I'm not sure about the autovacuum fix -- I've found that I tried the same
> > targeted autovacuum = false as Melanie proposed back then ([1]) and the
> > test still failed. Please let me recheck carefully if it's still an issue.
> >
> > Regarding v1-0001, I've tested it with the repro.patch applied and
> > confirmed it works. Thank you!
> >
> > [1] https://www.postgresql.org/message-id/714729ea-f536-0faf-353b-cbd5c8f241ea%40gmail.com
>
> Thanks for testing and confirming 0001.
I confirm that the bug is reproducible with repro.patch and 0001 fixes it.
> One detail I noticed in [1] is that the posted change sets
> autovacuum_enabled=false on the initial table. That table is later dropped
> and recreated for the recovery deadlock test, so the reloption does not
> carry over. 0002 sets it on the recreated table instead.
I generated the attached reproducer with help from an LLM, and I
confirm that your 0002 fixes the problem and Alexander's change on the
[1] fails because of the reason you mentioned.
Both patches LGTM.
--
Regards,
Nazir Bilal Yavuz
Microsoft
| Attachment | Content-Type | Size |
|---|---|---|
| nocfbot-Repro-031_recovery_conflict.pl-autovacuum.patch | text/x-patch | 1.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nisha Moond | 2026-09-04 08:41:40 | Re: Introduce XID age based replication slot invalidation |
| Previous Message | Peter Smith | 2026-09-04 08:29:42 | Re: PSQL schema "describe" \dn is not escaping quotes |