Re: Show the LSN in rm_redo_error_callback

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Show the LSN in rm_redo_error_callback
Дата
Msg-id 54DAADBF.3000903@gmx.net
обсуждение исходный текст
Ответ на Show the LSN in rm_redo_error_callback  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 2/10/15 5:15 PM, Andres Freund wrote:
> Hi,
> 
> I've repeatedly stared at logs containing PANICs during WAL
> replay. Unfortunately it's rather hard to find out which record actually
> caused the problem as we print the record's contents but not its LSN.
> 
> I think it's a no-brainer to add that to master.

Makes sense.

> But I'd even argue that
> it'd be a good idea to add it to the backbranches - there've been a
> significant number of bugs causing PANICs due to replay errors in the
> past (and we might be hunting one more of them right now).

We've had WAL since 7.1, and this is the first I've heard of this idea,
so while I sympathize with the idea, it's hard to agree that this is a
must-have.  The standard for back-patching ought to be higher than mere
convenience.





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

Предыдущее
От: Arthur Silva
Дата:
Сообщение: Re: reducing our reliance on MD5
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: reducing our reliance on MD5