Re: Transaction timeout

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Cc: Li Japin <japinli(at)hotmail(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-01 14:28:33
Message-ID: CF08A21B-5CC3-4065-A44E-623553616150@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 29 Dec 2023, at 16:15, Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:

PFA v20. Code steps are intact.

Further refactored tests:
1. Check termination of active and idle queries (previously tests from Li were testing only termination of idle query)
2. Check timeout reschedule (even when last active query was 'SET transaction_timeout')
3. Check that timeout is not rescheduled by new queries (Nik's case)

Do we have any other open items?
I've left 'make check-timeouts' in isolation directory, it's for development purposes. I think we should remove this before committing. Obviously, all patch steps are expected to be squashed before commit.

Best regards, Andrey Borodin.

Attachment Content-Type Size
v20-0001-Introduce-transaction_timeout.patch application/octet-stream 19.8 KB
v20-0004-fix-reschedule-timeout-for-each-commmand.patch application/octet-stream 1.3 KB
v20-0003-Try-to-enable-transaction_timeout-before-next-co.patch application/octet-stream 1.4 KB
v20-0002-Add-better-tests-for-transaction_timeout.patch application/octet-stream 10.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2024-01-01 15:30:50 Re: Commitfest manager January 2024
Previous Message Andy Fan 2024-01-01 13:55:02 Re: Shared detoast Datum proposal