Re: Streaming replication on win32, still broken - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Streaming replication on win32, still broken
Date
Msg-id 4B7E6DFA.9090200@enterprisedb.com
Whole thread Raw
In response to Re: Streaming replication on win32, still broken  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Streaming replication on win32, still broken
List pgsql-hackers
Heikki Linnakangas wrote:
> Magnus Hagander wrote:
>> Well, it's going to make the process that reads the WAL cause actual
>> physical I/O... That'll take a chunk out of your total available I/O,
>> which is likely to push you to the limit of your I/O capacity much
>> quicker.
> 
> Right, doesn't seem sensible, though it would be nice to see a benchmark
> on that.
> 
> Here's a patch to disable O_DIRECT when archiving or streaming is
> enabled. This is pretty hard to test, so any extra eyeballs would be nice..

Committed. Can you check that this fixed the PANIC you saw?

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Introduce WAL records to log reuse of btree pages, allowing
Next
From: Simon Riggs
Date:
Subject: Re: testing cvs HEAD - HS/SR - PANIC: cannot make new WAL entries during recovery