Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!) - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
Date
Msg-id 4C8BAB38.3070400@enterprisedb.com
Whole thread Raw
In response to Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
List pgsql-hackers
On 11/09/10 18:02, Tom Lane wrote:
> Heikki Linnakangas<heikki.linnakangas@enterprisedb.com>  writes:
>> Barring any last-minute objections, I'll commit this in the next few
>> days. This patch doesn't affect walreceiver yet; I think the next step
>> is to use the latches to eliminate the polling loop in walreceiver too,
>> so that as soon as a piece of WAL is fsync'd to disk in the standby,
>> it's applied.
>
> I will do some work as well once it's in.  Since I was the one
> complaining about extra wakeups in the other processes, I'm willing
> to go fix 'em.

Committed. I'll take a look at making walreceiver respond quickly when 
WAL arrives in the standby, using latches, but that shouldn't interfere 
with what you're doing.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
Next
From: Joe Conway
Date:
Subject: Re: "serializable" in comments and names