Re: pgsql: Use a latch to make startup process wake up and replay - Mailing list pgsql-committers

From Simon Riggs
Subject Re: pgsql: Use a latch to make startup process wake up and replay
Date
Msg-id 1284561330.26910.46.camel@ebony
Whole thread Raw
In response to Re: pgsql: Use a latch to make startup process wake up and replay  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: [HACKERS] Re: pgsql: Use a latch to make startup process wake up and replay  (David Fetter <david@fetter.org>)
Re: pgsql: Use a latch to make startup process wake up and replay  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Wed, 2010-09-15 at 20:14 +0900, Fujii Masao wrote:
> On Wed, Sep 15, 2010 at 7:35 PM, Heikki Linnakangas
> <heikki@postgresql.org> wrote:
> > Log Message:
> > -----------
> > Use a latch to make startup process wake up and replay immediately when
> > new WAL arrives via streaming replication. This reduces the latency, and
> > also allows us to use a longer polling interval, which is good for energy
> > efficiency.
> >
> > We still need to poll to check for the appearance of a trigger file, but
> > the interval is now 5 seconds (instead of 100ms), like when waiting for
> > a new WAL segment to appear in WAL archive.
>
> Good work!

No, not good work.

You both know very well that I'm working on this area also and these
commits are not agreed... yet. They might not be contended but they are
very likely to break my patch, again.

Please desist while we resolve which are the good ideas and which are
not. We won't know that if you keep breaking other people's patches in a
stream of commits that prevent anybody completing other options.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Development, 24x7 Support, Training and Services


pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix two typos in comments, spotted by Fujii Masao and Thom Brown
Next
From: David Fetter
Date:
Subject: Re: [HACKERS] Re: pgsql: Use a latch to make startup process wake up and replay