From: Amir Rohan <amir.rohan@mail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13644: 2xRecovery without new writes, causes archiving failure
Date: Mon, 28 Sep 2015 10:27:15 +0300
Message-ID: <5608EBD3.7080104@mail.com> (raw)
In-Reply-To: <CAB7nPqQJ9YBr96sj-BCp2EPqw9bDT_ax2GaPu1WRM6V9jbqcwQ@mail.gmail.com>
References: <20150926032247.3022.98224@wrigleys.postgresql.org>
<CAB7nPqTyhwWAFmArf-8C32CRh+aRCx4k=cgw2686fnDfSEpTkw@mail.gmail.com>
<5607083E.7040109@mail.com>
<CAB7nPqQJ9YBr96sj-BCp2EPqw9bDT_ax2GaPu1WRM6V9jbqcwQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 09/28/2015 10:14 AM, Michael Paquier wrote:
> On Sun, Sep 27, 2015 at 6:03 AM, Amir Rohan wrote:
>> On 09/26/2015 02:39 PM, Michael Paquier wrote:
>> I can reproduced this 100% of the time with HEAD from the last few days,
>> and haven't tried with anything else.
>>
>> See attached log+shell-script I used to reproduce.
>> The log shows the contents of the archive directory at various points
>> in the process I described in the initial post.
>
> If there is a bug, that's in your script, not in the backend code.
> restore_command should point to ARCHIVE_DIR instead of BACKUP_DIR.
> That's the reason why the third node (2nd recovery) cannot switch to
> timeline 3: it cannot find the history file of timeline 2 properly.
>
Of course! I'm embarrassed to have missed that, thank you.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: amir.rohan@mail.com, michael.paquier@gmail.com
Subject: Re: BUG #13644: 2xRecovery without new writes, causes archiving failure
In-Reply-To: <5608EBD3.7080104@mail.com>
References: <20150926032247.3022.98224@wrigleys.postgresql.org> <CAB7nPqTyhwWAFmArf-8C32CRh+aRCx4k=cgw2686fnDfSEpTkw@mail.gmail.com> <5607083E.7040109@mail.com> <CAB7nPqQJ9YBr96sj-BCp2EPqw9bDT_ax2GaPu1WRM6V9jbqcwQ@mail.gmail.com> <5608EBD3.7080104@mail.com>
* 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