Re: Proposal for 9.1: WAL streaming from WAL buffers - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: Proposal for 9.1: WAL streaming from WAL buffers
Date
Msg-id C9B7B260-26AE-44CD-97CE-98D3B27B9947@phlo.org
Whole thread Raw
In response to Re: Proposal for 9.1: WAL streaming from WAL buffers  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Proposal for 9.1: WAL streaming from WAL buffers  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Jun 11, 2010, at 16:31 , Tom Lane wrote:
> Fujii Masao <masao.fujii@gmail.com> writes:
>> In 9.0, walsender reads WAL always from the disk and sends it to the standby.
>> That is, we cannot send WAL until it has been written (and flushed) to the disk.
>
> I believe the above statement to be incorrect: walsender does *not* wait
> for an fsync to occur.

Hm, but then Robert's failure case is real, and streaming replication might break due to an OS-level crash of the
master.Or am I missing something? 

best regards,
Florian Pflug



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: The smallest patch (vacuumdb.c)
Next
From: Merlin Moncure
Date:
Subject: Re: hstore ==> and deprecate =>