From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
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, 3 Jan 2018 16:37:28 -0300
Message-ID: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql> (raw)
In-Reply-To: <22036.1515006967@sss.pgh.pa.us>
Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Tom Lane wrote:
> >> Meh. I'd rather have the more stable test going forward; I think
> >> alternate expected-files too easily hide unexpected behavior. We could
> >> try leaving 9.4/9.5 alone and see if it's true that it doesn't fail
> >> there. If not, I wouldn't mind losing the test in those branches
> >> --- it's mainly intended to catch future breakage, after all.
>
> > Makes sense. Pushed to 9.6 and up.
>
> Some of the buildfarm machines still don't like this. It looks
> like the buildfarm script is only capturing the postmaster log
> and not regression.diffs, making it hard to diagnose :-(
Actually three of these recent failures are showing the diff:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=protosciurus&dt=2018-01-03%2018%3A39%3A4...https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=castoroides&dt=2018-01-03%2017%3A31%3A24https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=woodlouse&dt=2018-01-03%2015%3A42%3A03
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.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@alvh.no-ip.org, tgl@sss.pgh.pa.us, andres@anarazel.de, jeff.janes@gmail.com
Subject: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
In-Reply-To: <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql>
References: <22036.1515006967@sss.pgh.pa.us> <20180103193728.ysqpcp2xjnqpiep7@alvherre.pgsql>
* 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