Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YFsr9-0003L3-3y for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Jan 2015 23:14:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YFsr8-0004Yp-LG for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Jan 2015 23:14:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YFsr8-0004Yj-1J for pgsql-bugs@postgresql.org; Mon, 26 Jan 2015 23:14:06 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YFsr3-0003aS-PB for pgsql-bugs@postgresql.org; Mon, 26 Jan 2015 23:14:04 +0000 Received: from anarazel.de ([93.220.110.143]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0M1WmX-1XRLhd1iPJ-00tRLZ; Tue, 27 Jan 2015 00:13:56 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 675B710082D; Tue, 27 Jan 2015 00:13:55 +0100 (CET) Date: Tue, 27 Jan 2015 00:13:55 +0100 From: Andres Freund To: Tom Lane Cc: Erik Jones , Peter Geoghegan , pgsql-bugs Subject: Re: Duplicate key existant/index visibility bug in 9.3.3 Message-ID: <20150126231355.GB4655@awork2.anarazel.de> References: <17148.1422310763@sss.pgh.pa.us> <17880.1422312207@sss.pgh.pa.us> <9ED28E1E-9F4D-4794-A1DD-0D49D085A6E6@engineyard.com> <18571.1422313471@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18571.1422313471@sss.pgh.pa.us> X-Provags-ID: V03:K0:PZj3BRwayGdgGnrq96p6QeoVbHzAjKM5Rjp0AuCd/U6xriBfYHo HSZce4J4fNkDJNfoZmSiZ5M77iEz68ig9j85/ok3LE/bZDSZ8ndKbe05iGHbDFy6X41U0QF saxxi3cW7vh7xtHYh+bVjMztTjzuSYg0FvmM6i2HUsJtTejrrTDNOAthyx66CqC+d37VWi3 dQ1udINx36dJDYawO2o9w== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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