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

From Simon Riggs
Subject Re: pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.
Date
Msg-id 1264264936.7193.1.camel@ebony
Whole thread Raw
In response to pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.  (sriggs@postgresql.org (Simon Riggs))
List pgsql-committers
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


pgsql-committers by date:

Previous
From: sriggs@postgresql.org (Simon Riggs)
Date:
Subject: pgsql: In HS, Startup process sets SIGALRM when waiting for buffer pin.
Next
From: sriggs@postgresql.org (Simon Riggs)
Date:
Subject: pgsql: Add explanatory detail to Hot Standby cancelation error messages