Re: regression, deadlock in high frequency single-row UPDATE
От | Alvaro Herrera |
---|---|
Тема | Re: regression, deadlock in high frequency single-row UPDATE |
Дата | |
Msg-id | 20141212211656.GD1768@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: regression, deadlock in high frequency single-row UPDATE (Peter Geoghegan <pg@heroku.com>) |
Ответы |
Re: regression, deadlock in high frequency single-row UPDATE
|
Список | pgsql-bugs |
Peter Geoghegan wrote: > On Fri, Dec 12, 2014 at 12:52 PM, Alvaro Herrera > <alvherre@2ndquadrant.com> wrote: > > Okay, I created a reproducer ... but it doesn't work. I mean, the > > commands are fine: if I execute them manually in four sessions in an > > unpatched server I get a deadlock. But isolationtester doesn't know to > > handle more than one blocked session, so it just hangs when the third > > session blocks after the second one is already blocked. :-( > > We need a stress-testing framework. I hacked together one for the ON > CONFLICT UPDATE patch (https://github.com/petergeoghegan/upsert), but > a more comprehensive effort is needed. Hm, that's nice, but I hope you realize that a framework based on shell scripts cannot possibly work for us. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-bugs по дате отправления: