Re: Handing off SLRU fsyncs to the checkpointer

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Handing off SLRU fsyncs to the checkpointer
Дата
Msg-id CA+hUKGLW3Y6=EsPSR5T0iDQaatP6GmXe3n6DFktAU-UF6FVX8A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Handing off SLRU fsyncs to the checkpointer  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Handing off SLRU fsyncs to the checkpointer
Список pgsql-hackers
On Fri, Sep 25, 2020 at 12:53 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> Here's a new version.  The final thing I'm contemplating before
> pushing this is whether there may be hidden magical dependencies in
> the order of operations in CheckPointGuts(), which I've changed
> around.  Andres, any comments?

I nagged Andres off-list and he opined that it might be better to
reorder it a bit so that ProcessSyncRequests() comes after almost
everything else, so that if we ever teach more things to offload their
fsync work it'll be in the right order.  I reordered it like that; now
only CheckPointTwoPhase() comes later, based on the comment that
accompanies it.  In any case, we can always reconsider the ordering of
this function in later commits as required.  Pushed like that.



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: history file on replica and double switchover
Следующее
От: torikoshia
Дата:
Сообщение: Re: Get memory contexts of an arbitrary backend process