Re: Idea for fixing the Windows fsync problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Idea for fixing the Windows fsync problem
Дата
Msg-id 2408.1168993094@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Idea for fixing the Windows fsync problem  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Idea for fixing the Windows fsync problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Tom Lane wrote:
>> So: maybe the solution is to add a step to the drop sequence, namely
>> revoking any pending fsync request, before unlink.

> Perhaps we could have the bgwrite check the queue *if* it gets the
> ENOENT/EACCESS error and then re-check the queue for drops on that file?

I've committed a tentative patch along these lines to HEAD.  Please
test.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Idea for fixing the Windows fsync problem
Следующее
От: "Takayuki Tsunakawa"
Дата:
Сообщение: Re: Idea for fixing the Windows fsync problem