Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhuVy-0000X1-RQ for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Nov 2021 14:11:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mhuVx-0004Tq-MD for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Nov 2021 14:11:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhuVx-0004Th-Dw for pgsql-hackers@lists.postgresql.org; Tue, 02 Nov 2021 14:11:49 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhuVs-000770-8z for pgsql-hackers@lists.postgresql.org; Tue, 02 Nov 2021 14:11:48 +0000 Received: from hrk.local (p2388012-ipbf1027funabasi.chiba.ocn.ne.jp [118.6.6.12]) by oss.nttdata.com (Postfix) with ESMTPSA id B559F605CA; Tue, 2 Nov 2021 23:11:39 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.3 at oss.nttdata.com Subject: Re: pgbench bug candidate: negative "initial connection time" From: Fujii Masao To: Yugo NAGATA Cc: Fabien COELHO , Kyotaro Horiguchi , kuroda.hayato@fujitsu.com, PostgreSQL Developers References: <20210617181642.e9b9d9979e6bd3b02fcb3065@sraoss.co.jp> <20210618.172603.409047378314636142.horikyota.ntt@gmail.com> <20210729132325.1f4bb9233f9fa759ca2d9213@sraoss.co.jp> <602fccbd-a8cf-fc0a-da63-faaeb2cfbabe@oss.nttdata.com> <20210924072645.cc30d215c024a0f6b1d1cff3@sraoss.co.jp> <71ba41e8-017a-8bd9-e16e-7edb337e422d@oss.nttdata.com> Message-ID: <807355f8-cb9c-9aca-2842-6cdde07a05ab@oss.nttdata.com> Date: Tue, 2 Nov 2021 23:11:39 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021/11/01 23:01, Fujii Masao wrote: >> The remainings are the changes of handling of initial connection or >> logfile open failures. I agree to push them at least for the master. >> But I'm not sure if they should be back-patched. Without these changes, >> even when those failures happen, pgbench proceeds the benchmark and >> reports the result. But with the changes, pgbench exits immediately in >> that case. I'm not sure if there are people who expect this behavior, >> but if there are, maybe we should not change it at least at stable branches. >> Thought? > > The current behavior should be improved, but not a bug. > So I don't think that the patch needs to be back-patched. > Barring any objection, I will push the attached patch to the master. Pushed. Thanks! I also pushed the typo-fix patch that I proposed upthread. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION