Re: allowing VACUUM to be cancelled for conflicting locks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: allowing VACUUM to be cancelled for conflicting locks
Дата
Msg-id 23606.1398708304@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: allowing VACUUM to be cancelled for conflicting locks  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: allowing VACUUM to be cancelled for conflicting locks  (Andres Freund <andres@2ndquadrant.com>)
Re: allowing VACUUM to be cancelled for conflicting locks  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> I don't think this is about the truncation thing, but about the
> deadlock.c/proc.c logic around DS_BLOCKED_BY_AUTOVACUUM. I.e. that a
> autovacuum is cancelled if user code tries to acquire a conflicting
> lock.

It's a bit of a stretch to claim that a manual VACUUM should be cancelled
by a manual DDL action elsewhere.  Who's to say which of those things
should have priority?
        regards, tom lane



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: allowing VACUUM to be cancelled for conflicting locks
Следующее
От: Andres Freund
Дата:
Сообщение: Re: allowing VACUUM to be cancelled for conflicting locks