Re: Incremental backup from a streaming replication standby fails

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Incremental backup from a streaming replication standby fails
Дата
Msg-id 5468641ad821dad7aa3b2d65bf843146443a1b68.camel@cybertec.at
обсуждение исходный текст
Ответ на Incremental backup from a streaming replication standby  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
On Sat, 2024-06-29 at 07:01 +0200, Laurenz Albe wrote:
> I played around with incremental backup yesterday and tried $subject
>
> The WAL summarizer is running on the standby server, but when I try
> to take an incremental backup, I get an error that I understand to mean
> that WAL summarizing hasn't caught up yet.
>
> I am not sure if that is working as designed, but if it is, I think it
> should be documented.

I played with this some more.  Here is the exact error message:

ERROR:  manifest requires WAL from final timeline 1 ending at 0/1967C260, but this backup starts at 0/1967C190

By trial and error I found that when I run a CHECKPOINT on the primary,
taking an incremental backup on the standby works.

I couldn't fathom the cause of that, but I think that that should either
be addressed or documented before v17 comes out.

Yours,
Laurenz Albe



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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: add function argument names to regex* functions.
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Remove dependence on integer wrapping