Re: Can there ever be out of sequence WAL files?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Can there ever be out of sequence WAL files?
Дата
Msg-id YeUXkpwwv+E25gRm@paquier.xyz
обсуждение исходный текст
Ответ на Re: Can there ever be out of sequence WAL files?  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
On Wed, Jan 12, 2022 at 12:23:00PM +0800, Julien Rouhaud wrote:
> On Wed, Jan 12, 2022 at 01:10:25PM +0900, Michael Paquier wrote:
>> xlog.c can be a good read to check the assumptions WAL replay relies
>> on, with things like CheckRecoveryConsistency() or
>> reachedConsistency.
>
> That should only stand for a WAL expected to be missing right?  For something
> unexpected it should fail in XLogReadRecord() when trying to fetch a missing
> block?

Sure, as well as there are sanity checks related to invalid page
references when it comes to the consistency checks.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg_dump/restore --no-tableam
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Map WAL segment files on PMEM as WAL buffers