Archive clean up command in recovery.conf - Mailing list pgsql-admin

From Prince Pathria
Subject Archive clean up command in recovery.conf
Date
Msg-id CAON0Day9vqmy3HSqB2eskSN-uxUuQpW+eCvdH1rRt+YO=39sfg@mail.gmail.com
Whole thread Raw
Responses Re: Archive clean up command in recovery.conf  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-admin
Hi,

I have a doubt, assume that I have 3 psql10 nodes (n1, n2, n3) and n1 is master ,n2+n3 are standbys. In n1 archive mode is on, and wal_logs are going to volume which is shared with n2 and n3. If   archive_cleanup_command = 'pg_archivecleanup /path/to/nfs %r' is enabled on both n2 and n3.

Can a situation might arise that a wal segment required by n2 is already cleaned up by n3?

If yes, then how to mitigate it?

Thanks!

Prince Pathria Systems Architect Evive +91 9478670472 goevive.com

pgsql-admin by date:

Previous
From: Prince Pathria
Date:
Subject: WAL segments held for replcation
Next
From: Aldo Sarmiento
Date:
Subject: New replica with pgbackrest