Re: Using condition variables to wait for checkpoints

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Using condition variables to wait for checkpoints
Дата
Msg-id CA+hUKGJKbCd+_K+SEBsbHxVT60SG0ivWHHAdvL0bLTUt2xpA2w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using condition variables to wait for checkpoints  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
On Thu, Mar 14, 2019 at 11:05 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> I renamed the CVs because the names I had used before broke the
> convention that variables named ckpt_* are protected by ckpt_lck, and
> pushed.

Erm... this made successful checkpoints slightly faster but failed
checkpoints infinitely slower.  It would help if we woke up CV waiters
in the error path too.  Patch attached.

-- 
Thomas Munro
https://enterprisedb.com

Вложения

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

Предыдущее
От: Michael Banck
Дата:
Сообщение: Re: pg_rewind vs superuser
Следующее
От: GUO Rui
Дата:
Сообщение: Re: Google Summer of Code: question about GiST API advancement project