Re: Autovacuum cancellation

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Autovacuum cancellation
Дата
Msg-id 87ve8uxl26.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Autovacuum cancellation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Autovacuum cancellation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

>> I think there's a window where the process waiting directly on
>> autovacuum could have already fired its deadlock check before it was
>> waiting directly on autovacuum.
>
> I think you don't understand what that code is doing.  If there's an
> autovac anywhere in the dependency graph, it'll find it.

That'll teach me to try to read code from a patch directly without trying to
apply it or at least read the original source next to it. I thought I had seen
this code recently enough to apply the patch from memory -- clearly not.

I assume the right thing happens if multiple deadlock check signals fire for
the same autovacuum?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

Предыдущее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: [HACKERS] Including Snapshot Info with Indexes
Следующее
От: Zdenek Kotala
Дата:
Сообщение: fix ZIC dependency on postgres.h