Another try to fix BF failure introduced in commit ddd5f4f54a.

Amit Kapila <akapila@postgresql.org>

Commit: 9bc1eee988c31e66a27e007d41020664df490214
Author: Amit Kapila <akapila@postgresql.org>
Date: 2024-02-15T05:07:28Z
Releases: 17.0
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

Files

Discussion