On 6/15/10 5:09 PM, Josh Berkus wrote:
>> > In 9.0, I think we can fix this problem by (1) only streaming WAL that
>> > has been fsync'd and
>
> I don't think this is the best solution; it would be a noticeable
> performance penalty on replication.
Actually, there's an even bigger reason not to mandate waiting for
fsync: what if the user turns fsync off?
One can certainly imagine users choosing to rely on their replication
slaves for crash recovery instead of fsync.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com