I've got a PostgreSQL Replication set up using Repmgr.
Replication works fine, until one of the databases is deleted on the master node.
Standby replica throws off 'WAL cannot be found' error and disconnects from the Upstream which causes a major issue for the failover system. Standby replicas won't recover unless postgres directory is wiped clean and the database is fully cloned from the master again.
PostgreSQL version: 12.5
Repmgr version: 5.1.0
System: CentOS 7
Any help would be appreciated!