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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)
Date: 2010-09-11 16:15:52
Message-ID: 4C8BAB38.3070400@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/09/10 18:02, Tom Lane wrote:
> Heikki Linnakangas<heikki(dot)linnakangas(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2010-09-11 18:40:53 Re: "serializable" in comments and names
Previous Message Heikki Linnakangas 2010-09-11 15:48:04 pgsql: Introduce latches.