Re: Latch for the WAL writer - further reducing idle wake-ups.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Latch for the WAL writer - further reducing idle wake-ups.
Дата
Msg-id CAEYLb_VW-Yjtwyy5+P2QN-V1FX0ar6Hkm296+Ae8zMrNk1csmQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Latch for the WAL writer - further reducing idle wake-ups.  (Peter Geoghegan <peter@2ndquadrant.com>)
Ответы Re: Latch for the WAL writer - further reducing idle wake-ups.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Latch for the WAL writer - further reducing idle wake-ups.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 9 May 2012 00:21, Peter Geoghegan <peter@2ndquadrant.com> wrote:
> Yes, there is some checking of flags before the potential ResetLatch()
> call, which may be acted on. The code there is almost identical to
> that of the extant bgwriter code. I was under the impression that this
> did not amount to a race, though it's rather late now, and I'm feeling
> under the weather, so I have not taken steps to verify that I have it
> right. Arguably, you'd want somebody's SetLatch call to be ignored if

Sent too early. That should be: Arguably, you'd want somebody's
SetLatch call to be ignored under the circumstances that that could
happen in both the bgwriter, and the WALWriter within my recent patch.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Latch for the WAL writer - further reducing idle wake-ups.
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: age(xid) on hot standby