From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Andres Freund <andres@anarazel.de>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
Date: Wed, 03 Jan 2018 14:46:34 -0500
Message-ID: <23413.1515008794@sss.pgh.pa.us> (raw)
In-Reply-To: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql>
References: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql>
Alvaro Herrera <alvherre@alvh.no-ip.org> 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
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, andres@anarazel.de, jeff.janes@gmail.com
Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
In-Reply-To: <23413.1515008794@sss.pgh.pa.us>
References: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql> <23413.1515008794@sss.pgh.pa.us>
* 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