]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve the stability of the recovery test 047_checkpoint_physical_slot
authorAlexander Korotkov <akorotkov@postgresql.org>
Sat, 19 Jul 2025 10:51:07 +0000 (13:51 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Sat, 19 Jul 2025 10:51:34 +0000 (13:51 +0300)
commitfd39c3cf28396d1fbb8b2a2cdb9fe66b6ad87964
treed017a53c8fc7ba3fcfa217b4040c7b87c4eac0a5
parent6aefde2a2db826f363891e1cc1157f22a6c30707
Improve the stability of the recovery test 047_checkpoint_physical_slot

Currently, the comments in 047_checkpoint_physical_slot. It shows an
incomplete intention to wait for checkpoint completion before performing
an immediate database stop.  However, an immediate node stop can occur both
before and after checkpoint completion.  Both cases should work correctly.
But we would like the test to be more stable and deterministic.  This is why
this commit makes this test explicitly wait for the checkpoint completion
log message.

Discussion: https://postgr.es/m/CAPpHfdurV-j_e0pb%3DUFENAy3tyzxfF%2ByHveNDNQk2gM82WBU5A%40mail.gmail.com
Discussion: https://postgr.es/m/aHXLep3OaX_vRTNQ%40paquier.xyz
Author: Alexander Korotkov <akorotkov@postgresql.org>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Backpatch-through: 17
src/test/recovery/t/047_checkpoint_physical_slot.pl