Re: Set 1s WaitLatch timeout if standby limit has expired in ResolveRecoveryConflictWithBufferPin

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 12:19:07
Message-ID: EAB3670A-51CA-46FD-A485-1B8F88F23867@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The new scenario also fails on bumblebee [0], akepa [1], and tamandua
[2], waiting for BufferCleanup and then for the cancellation message.

On beetle [3], there is a separate issue: log_line_prefix uses [%p:%l],
but the new PID-specific check expects [%p], so it cannot match.
My animal finally found something of its own :)

Could we revert just the new test scenario on all affected branches,
keeping the fix? We can revisit permanent coverage if we find a simple,
reliable way to test this case.

Best regards, Andrey Borodin.

[0] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bumblebee&dt=2026-11-27%2011%3A00%3A04
[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=akepa&dt=2026-11-27%2010%3A32%3A41
[2] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=tamandua&dt=2026-11-27%2011%3A42%3A56
[3] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=beetle&dt=2026-11-27%2011%3A03%3A37

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2026-11-27 12:27:04 Re: Set 1s WaitLatch timeout if standby limit has expired in ResolveRecoveryConflictWithBufferPin
Previous Message Andrey Borodin 2026-11-27 11:12:41 Re: Set 1s WaitLatch timeout if standby limit has expired in ResolveRecoveryConflictWithBufferPin