Re: Replication failure, slave requesting old segments

From: "Phil Endecott" <spam_from_pgsql_lists(at)chezphil(dot)org>
To: <pgsql-general(at)lists(dot)postgresql(dot)org>
Cc: "Adrian Klaver" <adrian(dot)klaver(at)aklaver(dot)com>
Subject: Re: Replication failure, slave requesting old segments
Date: 2018-08-11 19:42:05
Message-ID: 1534016525090@dmwebmail.dmwebmail.chezphil.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-08-11 21:48:01 Re: Replication failure, slave requesting old segments
Previous Message Adrian Klaver 2018-08-11 18:30:00 Re: Replication failure, slave requesting old segments