Re: Transaction timeout

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: Japin Li <japinli(at)hotmail(dot)com>, Junwang Zhao <zhjwpku(at)gmail(dot)com>, 邱宇航 <iamqyh(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Andrey Borodin <amborodin86(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Transaction timeout
Date: 2024-01-26 06:46:43
Message-ID: 682CC376-4390-435C-AE26-EFD2A37338F3@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 26 Jan 2024, at 11:44, Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
>
>
> 1. It’s unsafe for isaoltion tester to await transaction_timeout within a query. Usually it gets
> FATAL: terminating connection due to transaction timeout
> But if VM is a bit slow it can get occasional
> PQconsumeInput failed: server closed the connection unexpectedly
> So, currently all tests use “passive waiting”, in a session that will not timeout.

Oops, sorry, I’ve accidentally sent version without this fix.
Here it is.

Best regards, Andrey Borodin.

Attachment Content-Type Size
v24-0001-Introduce-transaction_timeout.patch application/octet-stream 26.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo NAGATA 2024-01-26 06:48:10 Re: Small fix on COPY ON_ERROR document
Previous Message Andrey M. Borodin 2024-01-26 06:44:02 Re: Transaction timeout