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 1ltKbB-0007Co-Hq for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Jun 2021 01:44:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ltKae-0002Zb-EI for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Jun 2021 01:43:36 +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 1ltKae-0002ZT-5L for pgsql-hackers@lists.postgresql.org; Wed, 16 Jun 2021 01:43:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltKac-0001IB-20 for pgsql-hackers@lists.postgresql.org; Wed, 16 Jun 2021 01:43:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 15G1hVai592939; Tue, 15 Jun 2021 21:43:31 -0400 From: Tom Lane To: Andres Freund cc: Alvaro Herrera , pgsql-hackers@lists.postgresql.org Subject: Re: Improving isolationtester's data output In-reply-to: <20210616013115.2otscs7rwictsolv@alap3.anarazel.de> References: <202106152320.xfiprkh4sp5c@alvherre.pgsql> <583674.1623799585@sss.pgh.pa.us> <20210616013115.2otscs7rwictsolv@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 15 Jun 2021 18:31:15 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <592937.1623807811.1@sss.pgh.pa.us> Date: Tue, 15 Jun 2021 21:43:31 -0400 Message-ID: <592938.1623807811@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2021-06-15 19:26:25 -0400, Tom Lane wrote: >> Going forward it wouldn't be a problem, but back-patching isolation >> test cases might find it annoying. On the other hand, my nearby >> patch to improve isolation test stability is already going to create >> issues of that sort. (Unless, dare I say it, we back-patch that.) > It might be worth to back-patch - aren't there some back branch cases of > test instability? And perhaps more importantly, I'm sure we'll encounter > cases of writing new isolation tests in the course of fixing bugs that > we'd want to backpatch that are hard to make reliable without the new > features? Yeah, there absolutely is a case to back-patch things like this. Whether it's a strong enough case, I dunno. I'm probably too close to the patch to have an unbiased opinion about that. However, a quick look through the commit history finds several places where we complained about not being able to back-patch isolation tests to before 9.6 because we hadn't back-patched that version's isolationtester improvements. I found 6b802cfc7, 790026972, c88411995, 8b21b416e without looking too hard. So that history certainly suggests that not back-patching such test infrastructure is the Wrong Thing. (And yeah, the failures we complained of in the other thread are certainly there in the back branches. I think the only reason there seem to be fewer is that the back branches see fewer test runs.) regards, tom lane