Re: BUG #13644: 2xRecovery without new writes, causes archiving failure

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #13644: 2xRecovery without new writes, causes archiving failure
Дата
Msg-id CAB7nPqQJ9YBr96sj-BCp2EPqw9bDT_ax2GaPu1WRM6V9jbqcwQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #13644: 2xRecovery without new writes, causes archiving failure  (Amir Rohan <amir.rohan@mail.com>)
Ответы Re: BUG #13644: 2xRecovery without new writes, causes archiving failure  (Amir Rohan <amir.rohan@mail.com>)
Список pgsql-bugs
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.
--
Michael

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alex Hunsaker
Дата:
Сообщение: Re: BUG #13638: Exception texts from plperl has bad encoding
Следующее
От: Amir Rohan
Дата:
Сообщение: Re: BUG #13644: 2xRecovery without new writes, causes archiving failure