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-xfxg01usfebtsckf...@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(-)
