Thread: Removing WALS when replication slot is not busy

Removing WALS when replication slot is not busy

From
Debraj Manna
Date:
One query in case of asynchronous replication with replication slots and no wal archiving if a slave node remains disconnected from master for more than wal_keep_segments, it will not be able to do the replication when it comes online. 

Now my question is when the slave connects to the master again will the XLOG in master also keep on building  as the slaves replication is stuck or postgres will remove the replication slot if it is not busy.

Postgres Version 10.4