From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Erik Jones <ejones@engineyard.com>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: Duplicate key existant/index visibility bug in 9.3.3
Date: Tue, 27 Jan 2015 00:13:55 +0100
Message-ID: <20150126231355.GB4655@awork2.anarazel.de> (raw)
In-Reply-To: <18571.1422313471@sss.pgh.pa.us>
References: <D43A52C1-79DD-4621-B7D2-B21BF66DB2C2@engineyard.com>
<17148.1422310763@sss.pgh.pa.us>
<CAM3SWZQA1B9NKp1g89+Ls=FQPeOw_5yHATQ59o7y9WpQsCZfYw@mail.gmail.com>
<17880.1422312207@sss.pgh.pa.us>
<9ED28E1E-9F4D-4794-A1DD-0D49D085A6E6@engineyard.com>
<18571.1422313471@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2015-01-26 18:04:31 -0500, Tom Lane wrote:
> Doesn't fit this specific bug fix --- the case it addresses would cause
> already-existing rows to become unreachable from the index during crash
> recovery. AFAICS that could not create a latent problem for rows inserted
> later.
I think there were cases where it could essentially do that due to hot
pruning ending up doing strange things due to the corrupted chains. But
I don't think that's the most likely explanation.
> Still, this isn't the only bug fixed in 9.3.4/9.3.5. Personally I'm
> wondering about c0bd128c81c2b23a1cbc53305180fca51b3b61c3.
Yes, imo that bug would explain the symptoms perfectly - the cases that
lead to the discovery of that bug pretty much looked that way IIRC.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: andres@2ndquadrant.com, tgl@sss.pgh.pa.us, ejones@engineyard.com, pg@heroku.com
Subject: Re: Duplicate key existant/index visibility bug in 9.3.3
In-Reply-To: <20150126231355.GB4655@awork2.anarazel.de>
References: <D43A52C1-79DD-4621-B7D2-B21BF66DB2C2@engineyard.com> <17148.1422310763@sss.pgh.pa.us> <CAM3SWZQA1B9NKp1g89+Ls=FQPeOw_5yHATQ59o7y9WpQsCZfYw@mail.gmail.com> <17880.1422312207@sss.pgh.pa.us> <9ED28E1E-9F4D-4794-A1DD-0D49D085A6E6@engineyard.com> <18571.1422313471@sss.pgh.pa.us> <20150126231355.GB4655@awork2.anarazel.de>
* 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