Re: regression, deadlock in high frequency single-row UPDATE

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: regression, deadlock in high frequency single-row UPDATE
Дата
Msg-id 20141226165607.GE1645@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: regression, deadlock in high frequency single-row UPDATE  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: regression, deadlock in high frequency single-row UPDATE
Список pgsql-bugs
Alvaro Herrera wrote:
> Alvaro Herrera wrote:
>
> > I'm going to experiment with that idea and see if it leads to a
> > solution.  I tried the other idea yesterday (to keep the HW tuple lock
> > we acquire in heap_lock_tuple until heap_update is done) but aside from
> > being very complicated and bug-prone, it doesn't solve the problem
> > anyway.
>
> Here's a preliminary patch.  It does solve the deadlock in my simplified
> test case.  If Andrew can confirm that it fixes his original problem
> too, that'd be good.

Pushed this patch to master, 9.4 and 9.3.

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

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #12324: database's age less then max(relAGE) , and stream standby diff with master
Следующее
От: Egoitz Aurrekoetxea
Дата:
Сообщение: Re: BUG #12344: libcurses issue with psql binary of Solaris package