Re: Streaming replication on win32, still broken

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Streaming replication on win32, still broken
Дата
Msg-id 3f0b79eb1002170227i63ebcd9fp648c2794fcb1efda@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming replication on win32, still broken  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Streaming replication on win32, still broken  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Wed, Feb 17, 2010 at 6:00 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Wed, Feb 17, 2010 at 4:07 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Wed, Feb 17, 2010 at 3:03 PM, Magnus Hagander <magnus@hagander.net> wrote:
>>> In that case, O_DIRECT would be counterproductive, no? It maps to
>>> FILE_FLAG_NOI_BUFFERING, which makes sure it doesn't go into the
>>> cache. So the read in the startup proc is actually guaranteed to
>>> reuqire a physical read - of something we just wrote, so it'll almost
>>> certainly end up waiting for a rotation, no?
>>>
>>> Seems like getting rid of O_DIRECT here is the right thing to do,
>>> regardless of this.
>>
>> Agreed. I'll remove O_DIRECT from walreceiver.
>
> Here is the patch to do that.

Ooops! I found the bug in the patch. Here is the updated version.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: Listen / Notify - what to do when the queue is full
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: NaN/Inf fix for ECPG