Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby)

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby)
Дата
Msg-id 1264013107.4043.3961.camel@ebony
обсуждение исходный текст
Ответ на Synchronization primitives (Was: Re: An example of bugs for Hot Standby)  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Synchronization primitives (Was: Re: An example of bugs for Hot Standby)
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: An example of bugs for Hot Standby