Re: pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.
Date: 2010-01-23 16:42:16
Message-ID: 1264264936.7193.1.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Sat, 2010-01-23 at 16:37 +0000, Simon Riggs wrote:
> Log Message:
> -----------
> In HS, Startup process sets SIGALRM when waiting for buffer pin. If
> woken by alarm we send SIGUSR1 to all backends requesting that they
> check to see if they are blocking Startup process. If so, they throw
> ERROR/FATAL as for other conflict resolutions. Deadlock stop gap
> removed. max_standby_delay = -1 option removed to prevent deadlock.

Patch by me, review by Andres Freund and Hiroyuki Yamada

--
Simon Riggs www.2ndQuadrant.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-01-23 17:04:05 pgsql: Add explanatory detail to Hot Standby cancelation error messages
Previous Message Simon Riggs 2010-01-23 16:37:13 pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-01-23 17:07:47 Re: commit fests
Previous Message Simon Riggs 2010-01-23 16:37:13 pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.