pgsql: Another try to fix BF failure introduced in commit ddd5f4f54a.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Another try to fix BF failure introduced in commit ddd5f4f54a.
Date: 2024-02-15 05:22:24
Message-ID: E1raUCW-006J5t-F7@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Another try to fix BF failure introduced in commit ddd5f4f54a.

Before attempting to sync the slot on standby by
pg_sync_replication_slots(), ensure that on the primary restart_lsn for
the slot has moved to a recent WAL position, by re-creating the
subscription and the logical slot.

Author: Hou Zhijie
Discussion: https://postgr.es/m/CAA4eK1+d5Lne8vCAn0un4SP9x-ZBr2-xfxg01uSfeBTSCKFZoQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9bc1eee988c31e66a27e007d41020664df490214

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-02-15 09:38:40 pgsql: Allow passing extra options to initdb for tests
Previous Message David Rowley 2024-02-15 05:01:44 pgsql: Simplify PathKey checking code