Re: Unable to start replica after failover

Поиск
Список
Период
Сортировка
От Alexander Kukushkin
Тема Re: Unable to start replica after failover
Дата
Msg-id CAFh8B=mPc_a_W4c7PjF4+E4E5Prb9=gq1FjAEHozvxVbMb=d-Q@mail.gmail.com
обсуждение исходный текст
Ответ на RE: Unable to start replica after failover  ("Lahnov, Igor" <Igor.Lahnov@nexign.com>)
Ответы RE: Unable to start replica after failover  ("Lahnov, Igor" <Igor.Lahnov@nexign.com>)
Список pgsql-general
Hi Igor,


On Fri, 26 Aug 2022 at 13:43, Lahnov, Igor <Igor.Lahnov@nexign.com> wrote:

I can't answer your question. What do you think, the recovery from the archive should work in this case?

1. the partial file should not be restored at all cases

2. the partial file should recover as a partial and replace the local partial

3. recovery command, should return a conflict - file already exists


The partial file should never be restored automatically.
I have no clue why pg_probackup developers decided to do it.
Postgres never requests the partial file using the restore_command, instead, it requests a file from the next timeline.

Regards,
--
Alexander Kukushkin

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

Предыдущее
От: Meera Nair
Дата:
Сообщение: RE: Unable to archive logs in standby server
Следующее
От: Matheus Martin
Дата:
Сообщение: Missing query plan for auto_explain.