Re: Recovery control functions

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Recovery control functions
Дата
Msg-id 1295009683.12442.89.camel@ebony
обсуждение исходный текст
Ответ на Re: Recovery control functions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Fri, 2011-01-14 at 14:27 +0200, Heikki Linnakangas wrote:

> > Trouble is, if you wait on Latch X and other processes send wakeup
> > assuming you were waiting on Latch Y, then this will erroneously wake
> > you up.
> 
> The signal will wake up the process, but WaitLatch will quickly go back 
> to sleep if it wasn't for the latch we're waiting for. I don't think 
> that causes any meaningful performance issues.

Neither does polling.

> So that's all handled within the latch code.

I'll adjust the comment.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Allowing multiple concurrent base backups