Re: False "pg_serial": apparent wraparound” in logs

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: False "pg_serial": apparent wraparound” in logs
Дата
Msg-id ZRysuWrRM2ADywY6@paquier.xyz
обсуждение исходный текст
Ответ на Re: False "pg_serial": apparent wraparound” in logs  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Sun, Oct 01, 2023 at 09:43:21PM +0300, Heikki Linnakangas wrote:
> I think the smallest fix here would be to change CheckPointPredicate() so
> that if tailPage > headPage, pass headPage to SimpleLruTruncate() instead of
> tailPage. Or perhaps it should go into the "The SLRU is no longer needed"
> codepath in that case. If tailPage > headPage, the SLRU isn't needed at the
> moment.

Good idea.  Indeed that should be good and simple enough for the
back-branches, at quick glance.
--
Michael

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Synchronizing slots from primary to standby
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Removing unneeded self joins