Re: Review: Hot standby

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Review: Hot standby
Дата
Msg-id 27671.1227894337@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Review: Hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Review: Hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Review: Hot standby  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Re: Review: Hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Fri, 2008-11-28 at 11:44 -0500, Tom Lane wrote:
>> I hadn't been following the discussion closely enough to know what the
>> problem is. 

> When we replay an AccessExclusiveLock on the standby we need to kick off
> any current lock holders, after a configurable grace period. Current
> lock holders may include some read-only backends that are
> idle-in-transaction. SIGINT, which is what the current patch uses, is
> not sufficient to dislodge the idle backends.

Hm.  People have complained of that fact from time to time in normal
usage as well.  Should we simply change SIGINT handling to allow it to
cancel an idle transaction?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Fixing contrib/isn for float8-pass-by-value
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Review: Hot standby