Another try to fix BF failure introduced in commit ddd5f4f54a.
authorAmit Kapila
Thu, 15 Feb 2024 05:07:28 +0000 (10:37 +0530)
committerAmit Kapila
Thu, 15 Feb 2024 05:07:28 +0000 (10:37 +0530)
commit9bc1eee988c31e66a27e007d41020664df490214
treefae15c12a3e439282626e531c3cdec66208738c7
parent0c444a70f2a79d4d7ef6f1af057909839e5b2097
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
src/test/recovery/t/040_standby_failover_slots_sync.pl