From: Phil Endecott <spam_from_pgsql_lists@chezphil.org>
To: pgsql-general@lists.postgresql.org
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Subject: Re: Replication failure, slave requesting old segments
Date: Sat, 11 Aug 2018 20:42:05 +0100
Message-ID: <1534016525090@dmwebmail.dmwebmail.chezphil.org> (raw)
In-Reply-To: <d5e0ad50-801d-0cf8-e9d6-7e0f7e5f6d68@aklaver.com>
References: <d5e0ad50-801d-0cf8-e9d6-7e0f7e5f6d68@aklaver.com>
Hi Adrian,
Adrian Klaver wrote:
> Looks like the master recycled the WAL's while the slave could not connect.
Yes but... why is that a problem? The master is copying the WALs to
the backup server using scp, where they remain forever. The slave gets
them from there before it starts streaming. So it shouldn't matter
if the master recycles them, as the slave should be able to get everything
using the combination of scp and then streaming.
Am I missing something about how this sort of replication is supposed to
work?
Thanks, Phil.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: spam_from_pgsql_lists@chezphil.org, adrian.klaver@aklaver.com
Subject: Re: Replication failure, slave requesting old segments
In-Reply-To: <1534016525090@dmwebmail.dmwebmail.chezphil.org>
References: <d5e0ad50-801d-0cf8-e9d6-7e0f7e5f6d68@aklaver.com> <1534016525090@dmwebmail.dmwebmail.chezphil.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox