Behavior for crash recovery when it detects a corrupt WAL record

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Behavior for crash recovery when it detects a corrupt WAL record
Дата
Msg-id 00b201cda623$e8528240$b8f786c0$@kapila@huawei.com
обсуждение исходный текст
Ответы Re: Behavior for crash recovery when it detects a corrupt WAL record
Список pgsql-hackers

I have observed that currently during recovery, while it applies the WAL records even if it detects that there is a corrupt record

by crc validation, it proceeds.

Basically ReadRecord(), returns NULL in such cases which makes the behavior same as it has reached end of WAL.

After that server get started and user can perform operations normally.

However ITSM that this is a problem as user might loose some committed data.

 

Is there any particular reason for this behavior?

 

With Regards,

Amit Kapila.

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