Re: Synchronous replication patch v2 - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Synchronous replication patch v2
Date
Msg-id 1226682454.27904.631.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Synchronous replication patch v2  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Synchronous replication patch v2  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Fri, 2008-11-14 at 19:00 +0200, Heikki Linnakangas wrote:
> Fujii Masao wrote:
> > Attached is the latest version of Synch Rep patch.
> 
> Why do we need a separate XLogsndRqst variable in shared memory? Don't 
> we always want to send the WAL up to the same point as we flush it?

If we're doing synch rep and we're committing. What happens when we're
doing async rep or running something like a large load. I wouldn't want
to presume that the network packet size and the disk write size are
always identical.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: "Alex Hunsaker"
Date:
Subject: Re: SSL cleanups/hostname verification
Next
From: Tom Lane
Date:
Subject: Re: Simple postgresql.conf wizard