Re: InstallXLogFileSegment() vs concurrent WAL flush

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: InstallXLogFileSegment() vs concurrent WAL flush
Дата
Msg-id CA+hUKG+bk2BO282C1DaZ7PLUyxkShNLc2iPyiHEWhR=gS4gmpA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: InstallXLogFileSegment() vs concurrent WAL flush  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: InstallXLogFileSegment() vs concurrent WAL flush  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
On Fri, Feb 2, 2024 at 12:56 PM Yugo NAGATA <nagata@sraoss.co.jp> wrote:
> On Fri, 2 Feb 2024 11:18:18 +0100
> Thomas Munro <thomas.munro@gmail.com> wrote:
> > One simple way to address that would be to make XLogFileInitInternal()
> > wait for InstallXLogFileSegment() to finish.  It's a little
>
> Or, can we make sure the rename is durable by calling fsync before
> returning the fd, as a patch attached here?

Right, yeah, that works too.  I'm not sure which way is better.



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: POC: Extension for adding distributed tracing - pg_tracing
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: XLog size reductions: smaller XLRec block header for PG17