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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-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

Browse pgsql-committers by date

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

Browse pgsql-hackers by date

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