pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Yugo NAGATA <nagata@sraoss.co.jp>
Cc: kuroda.hayato@fujitsu.com <kuroda.hayato@fujitsu.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: pgbench bug candidate: negative "initial connection time"
Date: Thu, 17 Jun 2021 10:37:05 +0200 (CEST)
Message-ID: <alpine.DEB.2.22.394.2106171028050.2693553@pseudo> (raw)
In-Reply-To: <20210617125556.267049db17aaad74e9328965@sraoss.co.jp>
References: <TYCPR01MB5870057375ACA8A73099C649F5349@TYCPR01MB5870.jpnprd01.prod.outlook.com>
	<alpine.DEB.2.22.394.2106111650360.4059032@pseudo>
	<TYAPR01MB58667A59DF050DAB01CC92F7F5319@TYAPR01MB5866.jpnprd01.prod.outlook.com>
	<20210614170702.af28e1eeaa055a818f5880e0@sraoss.co.jp>
	<alpine.DEB.2.22.394.2106141108240.1338009@pseudo>
	<20210617005934.8bd37bf72efd5f1b38e6f482@sraoss.co.jp>
	<alpine.DEB.2.22.394.2106162018040.2407635@pseudo>
	<20210617125556.267049db17aaad74e9328965@sraoss.co.jp>


Hello Yugo-san,

> By the way, the issue of inital connection erros reported in this thread
> will be fixed by the patch attached in my previous post (a major part are
> written by you :-)

That does not, on its own, ensure that it is bug free:-)

> ).  Is this acceptable for you?

I disagree on two counts:

First, thread[0] should not appear.

Second, currently the *only* function to change the client state is 
advanceConnectionState, so it can be checked there and any bug is only 
there. We had issues before when several functions where doing updates, 
and it was a mess to understand what was going on. I really want that it 
stays that way, so I disagree with setting the state to ABORTED from 
threadRun. Moreover I do not see that it brings a feature, so ISTM that it 
is not an actual issue not to do it?

-- 
Fabien.





view thread (27+ messages)  latest in thread

Message-ID: <alpine.DEB.2.22.394.2106171028050.2693553@pseudo>
Permalink:  ../alpine.DEB.2.22.394.2106171028050.2693553@pseudo/
Also on:    postgresql.org/message-id/alpine.DEB.2.22.394.2106171028050.2693553@pseudo

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: coelho@cri.ensmp.fr, nagata@sraoss.co.jp, kuroda.hayato@fujitsu.com
  Subject: Re: pgbench bug candidate: negative "initial connection time"
  In-Reply-To: <alpine.DEB.2.22.394.2106171028050.2693553@pseudo>
  References: <TYCPR01MB5870057375ACA8A73099C649F5349@TYCPR01MB5870.jpnprd01.prod.outlook.com> <alpine.DEB.2.22.394.2106111650360.4059032@pseudo> <TYAPR01MB58667A59DF050DAB01CC92F7F5319@TYAPR01MB5866.jpnprd01.prod.outlook.com> <20210614170702.af28e1eeaa055a818f5880e0@sraoss.co.jp> <alpine.DEB.2.22.394.2106141108240.1338009@pseudo> <20210617005934.8bd37bf72efd5f1b38e6f482@sraoss.co.jp> <alpine.DEB.2.22.394.2106162018040.2407635@pseudo> <20210617125556.267049db17aaad74e9328965@sraoss.co.jp> <alpine.DEB.2.22.394.2106171028050.2693553@pseudo>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox