Re: 'Invalid lp' during heap_xlog_delete

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: 'Invalid lp' during heap_xlog_delete
Дата
Msg-id 20191111075111.GB1418@paquier.xyz
обсуждение исходный текст
Ответ на Re: 'Invalid lp' during heap_xlog_delete  (Daniel Wood <hexexpert@comcast.net>)
Ответы Re: 'Invalid lp' during heap_xlog_delete  (Daniel Wood <hexexpert@comcast.net>)
Список pgsql-hackers
On Fri, Nov 08, 2019 at 06:44:08PM -0800, Daniel Wood wrote:
> I repro'ed on PG11 and PG10 STABLE but several months old.
> I looked at 6d05086 but it doesn't address the core issue.
>
> DropRelFileNodeBuffers prevents the checkpoint from writing all
> needed dirty pages for any REDO's that exist BEFORE the truncate.
> If we crash after a checkpoint but before the physical truncate then
> the REDO will need to replay the operation against the dirty page
> that the Drop invalidated.

I am beginning to look at this thread more seriously, and I'd like to
first try to reproduce that by myself.  Could you share the steps you
used to do that?  This includes any manual sleep calls you may have
added, the timing of the crash, manual checkpoints, debugger
breakpoints, etc.  It may be possible to extract some more generic
test from that.
--
Michael

Вложения

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: [HACKERS] Block level parallel vacuum
Следующее
От: Amit Langote
Дата:
Сообщение: Re: adding partitioned tables to publications