Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWozv-000631-LB for pgsql-committers@arkaria.postgresql.org; Wed, 03 Jan 2018 19:46:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWozv-0000Ap-1O for pgsql-committers@arkaria.postgresql.org; Wed, 03 Jan 2018 19:46:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eWozu-0000Af-Sn for pgsql-committers@lists.postgresql.org; Wed, 03 Jan 2018 19:46:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eWozn-0006Fq-Vw for pgsql-committers@postgresql.org; Wed, 03 Jan 2018 19:46:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w03JkY2b023414; Wed, 3 Jan 2018 14:46:34 -0500 From: Tom Lane To: Alvaro Herrera cc: Andres Freund , Jeff Janes , pgsql-committers@postgresql.org Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY In-reply-to: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql> References: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 03 Jan 2018 16:37:28 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23412.1515008794.1@sss.pgh.pa.us> Date: Wed, 03 Jan 2018 14:46:34 -0500 Message-ID: <23413.1515008794@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > Tom Lane wrote: >> Some of the buildfarm machines still don't like this. > It proves me wrong about the ordering in which the steps return > completion being consistent: > *************** > *** 20,24 **** > unlck > t > - step s1i: <... completed> > step s2i: <... completed> > --- 20,24 ---- > unlck > t > step s2i: <... completed> > + step s1i: <... completed> > Again this could be solved by just including an alternate file, or we > could go a bit further and report all completed steps in a single line > rather than each in its own line. This would require patching > isolationtester back to 9.6, but it should be a small fix ... Will look > into it after pushing another patch. No, I think that's probably a bad idea, because it would mean that in cases where you do care about the finishing order (which is all of them up to now), the test output would fail to prove that you got the expected behavior. At this point I'm on board with using an alternate expected file. We could revert the test back to your original version and make the pre-9.6 branches look the same, which would be good. regards, tom lane