| From: | Xuneng Zhou <xunengzhou(at)gmail(dot)com> |
|---|---|
| To: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
| Cc: | Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Anthony Hsu <erwaman(at)gmail(dot)com>, João Rito <joaovictor(dot)rito(at)gmail(dot)com>, shihao zhong <zhong950419(at)gmail(dot)com>, Dmytro Astapov <dastapov(at)gmail(dot)com>, pgsql-hackers mailing list <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
| Subject: | Re: Set 1s WaitLatch timeout if standby limit has expired in ResolveRecoveryConflictWithBufferPin |
| Date: | 2026-11-30 06:52:22 |
| Message-ID: | CABPTF7WngsoNYpgZb8BWobegdi9NAEFJ9KmNvM5JCQwjKBZvBA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Nov 28, 2026 at 10:15 PM Xuneng Zhou <xunengzhou(at)gmail(dot)com> wrote:
>
> Hi Andrey,
>
> On Sat, Nov 28, 2026 at 1:26 PM Andrey Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
> >
> >
> >
> > > On 27 Nov 2026, at 17:27, Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
> > >
> > > Is this patch sufficient? I suspect not ... If not, I'm
> > > inclined to wrap the whole test in a SKIP block until a complete fix is
> > > developed.
> > >
> > > (There's also a 50_000 us timeout which is likely insufficient in slow
> > > machines ...)
> >
> > I think the main problem is relying on a sleep for synchronization.
> > On tamandua [0], the COPY backend itself was canceled before the second
> > cursor opened. What about using an injection point?
https://github.com/postgres/postgres-cfbot/actions/runs/45086266082/job/137405771680
It looks like cfbot flagged this before, and I missed it.
> Attached is the perltidied v2 with those changes.
Let’s see what they say about this patch [1].
[1] https://commitfest.postgresql.org/patch/7758/
--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ajit Awekar | 2026-11-30 06:57:53 | Re: Continuous re-validation of session credentials |
| Previous Message | Yilin Zhang | 2026-11-30 06:38:25 | Re:Reject columns of permanent relations that depend on temporary objects |