Re: SR standby hangs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SR standby hangs
Дата
Msg-id 13876.1298058612@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SR standby hangs  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: SR standby hangs  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Feb 18, 2011 at 2:35 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>> It's not running HS, so there's no query to wait on.

> That seems to imply that recovery has leaked a buffer pin.

No, because then the sanity check in LockBufferForCleanup would have
fired:
/* There should be exactly one local pin */if (PrivateRefCount[buffer - 1] != 1)    elog(ERROR, "incorrect local pin
count:%d",         PrivateRefCount[buffer - 1]);
 

Some sort of deadly embrace with the bgwriter, maybe?
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: WIP - Add ability to constrain backend temporary file space
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Snapshot synchronization, again...