Re: Transaction timeout

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: Japin Li <japinli(at)hotmail(dot)com>, Peter Smith <smithpb2250(at)gmail(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>, Andrew Borodin <amborodin86(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, pgsql-hackers mailing list <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers mailing list <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Transaction timeout
Date: 2024-03-13 05:56:06
Message-ID: FA28DDC1-8D93-4017-A0DF-95E2B098DC3A@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 13 Mar 2024, at 05:23, Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote:
>
> On Tue, Mar 12, 2024 at 10:28 AM Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
>>> On 11 Mar 2024, at 16:18, Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote:
>>>
>>> I think if checking psql stderr is problematic, checking just logs is
>>> fine. Could we wait for the relevant log messages one by one with
>>> $node->wait_for_log() just like 040_standby_failover_slots_sync.pl do?
>>
>> PFA version with $node->wait_for_log()
>
> I've slightly revised the patch. I'm going to push it if no objections.

One small note: log_offset was updated, but was not used.

Thanks!

Best regards, Andrey Borodin.

Attachment Content-Type Size
v6-0001-Add-TAP-tests-for-timeouts.patch application/octet-stream 7.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-03-13 06:00:37 Re: Sequence Access Methods, round two
Previous Message Andrei Lepikhov 2024-03-13 05:52:50 Re: POC, WIP: OR-clause support for indexes