Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Use a latch to make startup process wake up and replay

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Heikki Linnakangas <heikki(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgsql: Use a latch to make startup process wake up and replay
Date: 2010-09-15 14:35:30
Message-ID: 1284561330.26910.46.camel@ebony (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
On Wed, 2010-09-15 at 20:14 +0900, Fujii Masao wrote:
> On Wed, Sep 15, 2010 at 7:35 PM, Heikki Linnakangas
> <heikki(at)postgresql(dot)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


In response to

Responses

pgsql-hackers by date

Next:From: David FetterDate: 2010-09-15 14:59:35
Subject: Re: [HACKERS] Re: pgsql: Use a latch to make startup process wake up and replay
Previous:From: Heikki LinnakangasDate: 2010-09-15 14:14:23
Subject: Re: Latches, signals, and waiting

pgsql-committers by date

Next:From: David FetterDate: 2010-09-15 14:59:35
Subject: Re: [HACKERS] Re: pgsql: Use a latch to make startup process wake up and replay
Previous:From: Heikki LinnakangasDate: 2010-09-15 14:14:23
Subject: Re: Latches, signals, and waiting

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group