Re: pgbench bug candidate: negative "initial connection time"

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, kuroda(dot)hayato(at)fujitsu(dot)com, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgbench bug candidate: negative "initial connection time"
Date: 2021-11-01 14:02:44
Message-ID: c4c165c1-1280-558c-81b8-9d23e4a42351@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/10/09 0:41, Fujii Masao wrote:
>
>
> On 2021/10/01 15:27, Michael Paquier wrote:
>> On Wed, Sep 29, 2021 at 10:11:53PM +0900, Fujii Masao wrote:
>>> BTW, when logfile fails to be opened, pgbench gets stuck due to commit
>>> aeb57af8e6. So even if we decided not to back-patch those changes,
>>> we should improve the handling of logfile open failure, to fix the issue.
>>
>> There is an entry in the CF for this thread:
>> https://commitfest.postgresql.org/34/3219/
>>
>> I have moved that to the next one as some pieces are missing.  If you
>> are planning to handle the rest, could you register your name as a
>> committer?
>
> Thanks for letting me know that!
> I registered myself as a committer of the patch again.
>
>
>     pg_time_usec_t conn_duration;    /* cumulated connection and deconnection
>                                      * delays */
>
> BTW, while reading the patch, I found the above comment in pgbench.c.
> "deconnection" seems a valid word in French (?), but isn't it better to
> replace it with "disconnection"? Patch attached.

Barring any objection, I will push this patch.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-11-01 14:18:24 Re: Non-superuser subscription owners
Previous Message Fujii Masao 2021-11-01 14:01:54 Re: pgbench bug candidate: negative "initial connection time"