atGPT said:
Subject: Concern Regarding WAL Files and Replication
Hi [Recipient's Name],
I wanted to address a concerning issue regarding WAL files being removed or unavailable when a site is down for a couple of hours. Despite having replication slots, we've consistently observed that once a replica comes back online, it requests a series of WAL files one after another. This has been particularly evident during our weekend transmission activities.
Recently, I copied the WAL file from the leader to the replica (luckily, it was available this time), and the replica quickly came back in sync. This approach proved much more feasible than performing a complete reinitialization of the cluster, which we often resort to.
It seems strange and surprising that WAL files are removed when one or two replicas are down. I've raised this as a bug on the official site, and I'm glad the admin has approved it for open discussion.





0 comments:
Post a Comment