Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby) - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby)
Date
Msg-id 1264013107.4043.3961.camel@ebony
Whole thread Raw
In response to Synchronization primitives (Was: Re: An example of bugs for Hot Standby)  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Wed, 2010-01-20 at 20:00 +0200, Heikki Linnakangas wrote:

> Hot standby also has a polling loop where it waits for a
> transaction a transaction to die, though I'm not sure if that can be
> fit into the same model

I prefer that in the context of HS because the Startup process is
waiting for things to die. Given that their death may not be handled
sweetly, I would not wish to rely on that to wake Startup.

In the other two cases you mention all processes are working together
normally and we aren't expecting the other processes to die.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby)
Next
From: Simon Riggs
Date:
Subject: Re: An example of bugs for Hot Standby