Re: recovery test error

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: recovery test error
Дата
Msg-id ZpcGFaDLvneNQjVV@paquier.xyz
обсуждение исходный текст
Ответ на recovery test error  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: recovery test error
Список pgsql-hackers
On Tue, Jul 16, 2024 at 03:04:13PM -0400, Andrew Dunstan wrote:
> This was called by poll_query_until(), which is changed by the patch to use
> a libpq session rather than constantly forking psql. ISTM we should be
> passing true as a second parameter so we keep going if the file doesn't
> exist.
>
> Thoughts?

Sounds like a good idea to me as this call could return ENOENT
depending on the timing of the archiver pushing the new history file,
as writeTimeLineHistory() at the end of recovery notifies the archiver
but does not wait for the fact to happen (history files are
prioritized, still there is a delay).
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Windows perl/tcl requirement documentation
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: POC, WIP: OR-clause support for indexes