Re: Documenting when to retry on serialization failure

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Documenting when to retry on serialization failure
Дата
Msg-id CANbhV-FwS+MMyYEONPw_EQ-NSd41bBhdxAZMWDDONaqxfbEivA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Documenting when to retry on serialization failure  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On Thu, 16 Dec 2021 at 06:05, Greg Stark <stark@mit.edu> wrote:

> So a lot of users are probably looking at something like "BEGIN;
> SELECT create_customer_order(....); COMMIT" and wondering why the
> server can't handle automatically retrying the query if they get an
> isolation failure.

I agree with you that it would be desirable to retry for the simple
case of an autocommit/single statement transaction run with
default_transaction_isolation = 'serializability'.

The most important question before we take further action is whether
this would be correct to do so, in all cases.

Some problem cases would help us decide either way.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



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

Предыдущее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: Failed transaction statistics to measure the logical replication progress
Следующее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: Failed transaction statistics to measure the logical replication progress