Re: Avoid stuck of pbgench due to skipped transactions - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Avoid stuck of pbgench due to skipped transactions
Date
Msg-id alpine.DEB.2.22.394.2109071121360.56739@pseudo
Whole thread Raw
In response to Re: Avoid stuck of pbgench due to skipped transactions  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: Avoid stuck of pbgench due to skipped transactions
List pgsql-hackers
Hello Fujii-san,

> Stop counting skipped transactions under -T as soon as the timer is 
> exceeded. Because otherwise it can take a very long time to count all of 
> them especially when quite a lot of them happen with unrealistically 
> high rate setting in -R, which would prevent pgbench from ending 
> immediately. Because of this behavior, note that there is no guarantee 
> that all skipped transactions are counted under -T though there is under 
> -t. This is OK in practice because it's very unlikely to happen with 
> realistic setting.

Ok, I find this text quite clear.

> One question is; which version do we want to back-patch to?

If we consider it a "very minor bug fix" which is triggered by somehow 
unrealistic options, so I'd say 14 & dev, or possibly only dev.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Remove Value node struct
Next
From: Nitin Jadhav
Date:
Subject: Re: when the startup process doesn't (logging startup delays)