Re: FATAL: could not receive data from WAL stream - Mailing list pgsql-general

From Michael Paquier
Subject Re: FATAL: could not receive data from WAL stream
Date
Msg-id CAB7nPqQQcd9uqszrWbB2myN3q=2vPUwh9Rp-XMavTC8PvJLt4g@mail.gmail.com
Whole thread Raw
In response to Re: FATAL: could not receive data from WAL stream  (Patrick B <patrickbakerbr@gmail.com>)
Responses Re: FATAL: could not receive data from WAL stream  (Patrick B <patrickbakerbr@gmail.com>)
List pgsql-general
On Tue, Sep 20, 2016 at 1:30 PM, Patrick B <patrickbakerbr@gmail.com> wrote:
> 2016-09-20 15:14 GMT+12:00 Venkata B Nagothi <nag1010@gmail.com>:
>> Do you mean to say that the WAL file "000000020000179A000000F8" is
>> available @ "/var/lib/pgsql/9.2/archive" location ?
>
> Yes!

Timeline 2 has visibly reached its end at segment
000000020000179A000000F8 and it cannot find in the archive the history
file to see from which timeline it needs to fetch afterwards. As the
timeline file cannot be found, it then attempts to fetch the segment
that it thinks is complete from the master itself.

Didn't you trigger a promotion which would make the master reach the
timeline 3? And are you sure that 00000003.history is not in the
archives?
--
Michael


pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: We have a requirement to downgrade from PostgreSQL 9.5.4 to 9.5.2
Next
From: Patrick B
Date:
Subject: Re: FATAL: could not receive data from WAL stream