pgsql: Fix intermittent BF failure in 040_standby_failover_slots_sync.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix intermittent BF failure in 040_standby_failover_slots_sync.
Date: 2025-12-18 05:16:40
Message-ID: E1vW6NT-001MB8-0o@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <houzj(dot)fnst(at)fujitsu(dot)com>
Discussion: https://postgr.es/m/TY4PR01MB16907DF70205308BE918E0D4494ABA@TY4PR01MB16907.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b47c50e5667b489bec3affb55ecdf4e9c306ca2d

Modified Files
--------------
src/test/recovery/t/040_standby_failover_slots_sync.pl | 8 ++++++++
1 file changed, 8 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2025-12-18 13:13:28 pgsql: Do not emit WAL for unlogged BRIN indexes
Previous Message Michael Paquier 2025-12-18 02:16:14 pgsql: btree_gist: Fix memory allocation formula