Re: checkpointer: PANIC: could not fsync file: No such file or directory

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: checkpointer: PANIC: could not fsync file: No such file or directory
Дата
Msg-id CA+hUKGLqob8hOCnh=oodnsi7Fm7dyeXy0pyyS+hSZF8Lp3gO7w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: checkpointer: PANIC: could not fsync file: No such file or directory  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: checkpointer: PANIC: could not fsync file: No such file or directory  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Sat, Nov 30, 2019 at 10:57 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> On Fri, Nov 29, 2019 at 12:34 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> > ... or stop using
> > _mdfd_getseg() for this so that you can remove segments independently
> > without worrying about sync requests for other segments (it was
> > actually like that in an earlier version of the patch for commit
> > 3eb77eba, but someone complained that it didn't benifit from fd
> > caching).
>
> Not sure which approach I prefer yet, but here's a patch showing that
> alternative.

Here's a better version: it uses the existing fd if we have it already
in md_seg_fds, but opens and closes a transient one if not.

Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Block level parallel vacuum
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: get_database_name() from background worker