Re: [HACKERS] bug in locking an update tuple chain

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [HACKERS] bug in locking an update tuple chain
Дата
Msg-id 20170726212745.cfkuvvnndd6janht@alvherre.pgsql
обсуждение исходный текст
Ответ на [HACKERS] bug in locking an update tuple chain  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
> The attached patch fixes the problem.  When locking some old tuple version of
> the chain, if we detect that we already hold that lock
> (test_lockmode_for_conflict returns HeapTupleSelfUpdated), do not try to lock
> it again but instead skip ahead to the next version.  This fixes the synthetic
> case in my isolationtester as well as our customer's production case.

Pushed.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] asynchronous execution
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] asynchronous execution