Re: Transaction timeout - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: Transaction timeout
Date
Msg-id DD2C0791-FCDB-4073-848C-7107CAB55EAE@yandex-team.ru
Whole thread Raw
In response to Re: Transaction timeout  (Japin Li <japinli@hotmail.com>)
Responses Re: Transaction timeout
List pgsql-hackers

> On 4 Jan 2024, at 07:14, Japin Li <japinli@hotmail.com> wrote:
>
> Does the timeout is too short for testing? I see the timeouts for lock_timeout
> and statement_timeout is more bigger than transaction_timeout.

Makes sense. Done. I've also put some effort into fine-tuning timeouts Nik's case tests. To have 100ms gap between
check,false positive and actual bug we had I had to use transaction_timeout = 300ms. Currently all tests take more than
1000ms!
But I do not see a way to make these tests both stable and short.


Best regards, Andrey Borodin.

Attachment

pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: [PATCH] Exponential backoff for auth_delay
Next
From: vignesh C
Date:
Subject: Documentation to upgrade logical replication cluster