Re: pgbench bug candidate: negative "initial connection time"
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Yugo NAGATA <nagata@sraoss.co.jp>, Fabien COELHO <coelho@cri.ensmp.fr>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>, kuroda.hayato@fujitsu.com,
PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2021-10-08T15:41:33Z
Lists: pgsql-hackers
Attachments
- deconnection.patch (text/plain) patch
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. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
Commits
-
pgbench: Fix typo in comment.
- d8dba4d03068 15.0 landed
-
pgbench: Improve error-handling in pgbench.
- cd29be5459f0 15.0 landed
-
pgbench: Fix handling of socket errors during benchmark.
- c5f7e702d78f 12.9 landed
- 8cf4f7118596 13.5 landed
- 8231c500ed74 14.1 landed
- 2acb7cc6b56c 15.0 landed
-
pgbench: Correct log level of message output when socket wait method fails.
- 3cc85d7d5353 13.5 landed
- 8021334d3710 14.1 landed
- d33674708948 15.0 landed
-
pgbench: Synchronize client threads.
- aeb57af8e640 14.0 cited
-
pgbench: Use common logging API
- 30a3e772b401 13.0 cited