Fix intermittent BF failure in 040_standby_failover_slots_sync. master github/master
authorAmit Kapila <[email protected]>
Thu, 18 Dec 2025 05:06:55 +0000 (05:06 +0000)
committerAmit Kapila <[email protected]>
Thu, 18 Dec 2025 05:06:55 +0000 (05:06 +0000)
commitb47c50e5667b489bec3affb55ecdf4e9c306ca2d
tree4b63412945d3c7df692bdf75abb35d9b2d0c8e85
parent5cf03552fbb43b2d2d11369d779f9b168ea9b87a
Fix intermittent BF failure in 040_standby_failover_slots_sync.

Commit 0d2d4a0ec3 introduced a test that verifies replication slot
synchronization to a standby server via SQL API. However, the test did not
configure synchronized_standby_slots. Without this setting, logical
failover slots can advance beyond the physical replication slot, causing
intermittent synchronization failures.

Author: Hou Zhijie <[email protected]>
Discussion: https://postgr.es/m/TY4PR01MB16907DF70205308BE918E0D4494ABA@TY4PR01MB16907.jpnprd01.prod.outlook.com
src/test/recovery/t/040_standby_failover_slots_sync.pl