Re: Fix primary crash continually with invalid checkpoint after promote

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Fix primary crash continually with invalid checkpoint after promote
Дата
Msg-id 20220426181629.GA3002456@nathanxps13
обсуждение исходный текст
Ответ на Fix primary crash continually with invalid checkpoint after promote  ("Zhao Rui" <875941708@qq.com>)
Список pgsql-hackers
On Tue, Apr 26, 2022 at 03:16:13PM +0800, Zhao Rui wrote:
> In function CreateRestartPoint, control file is updated and old wals are removed. But in some situations, control
fileis not updated, old wals are still removed. Thus produces an invalid checkpoint with nonexistent wal. Crucial log:
"invalidprimary checkpoint record", "could not locate a valid checkpoint record".
 

I think this is the same issue tracked here: [0].

[0] https://postgr.es/m/20220316.102444.2193181487576617583.horikyota.ntt%40gmail.com

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: David Christensen
Дата:
Сообщение: Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Possible corruption by CreateRestartPoint at promotion