| From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
|---|---|
| To: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
| Cc: | Anthony Hsu <erwaman(at)gmail(dot)com>, Xuneng Zhou <xunengzhou(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-27 11:12:41 |
| Message-ID: | 3D6FDDEE-2E4D-4CBE-98EC-32689EC33B1A@yandex-team.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Alvaro,
Thanks for committing the fix!
The new test is failing on master [0] and REL_19_STABLE [1]. On macOS,
with debug_parallel_query=regress, the COPY's parallel worker is
canceled and replay resumes before the second reader connects. On
Windows, the first COPY is canceled before the second cursor is
established. The expected cancellation of the second reader therefore
never happens.
Could we disable forced parallelism for this COPY and ensure the first
pin remains held until the second cursor has fetched? The logs point to
a test synchronization problem.
Best regards, Andrey Borodin.
[0] https://github.com/postgres/postgres/actions/runs/45982262949
[1] https://github.com/postgres/postgres/actions/runs/45982263651
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrey Borodin | 2026-11-27 12:19:07 | Re: Set 1s WaitLatch timeout if standby limit has expired in ResolveRecoveryConflictWithBufferPin |
| Previous Message | Antonin Houska | 2026-11-27 10:53:10 | Re: Allow progress tracking of sub-commands |