pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: m.sakrejda@gmail.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #10432: failed to re-find parent key in index
Date: Tue, 27 May 2014 21:06:34 +0300
Message-ID: <5384D42A.8070904@vmware.com> (raw)
In-Reply-To: <20140523175217.2692.50568@wrigleys.postgresql.org>
References: <20140523175217.2692.50568@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 05/23/2014 08:52 PM, m.sakrejda@gmail.com wrote:
> I just got the error `failed to re-find parent key in index "1665279" for
> split pages 175193/193740`. From the list archives [1], it looks like
> there's no easy recovery, but this happened on a replica right after the
> recovery trigger file was touched and recovery completed, so that's not a
> huge concern (unless it also happens to the next replica). Is there
> something to be learned from the failed cluster?

I would be interested in seeing the structure of the index, if there is 
anything else corrupt in there. Also, what WAL actions led to the error? 
Try something like:

  pg_xlogdump -r btree  -p $PGDATA -s 339/65000000 | grep 1665279

and search that for any records related to the failed split, e.g. 
grepping further for the block numbers in the error message.

- Heikki


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (18+ messages)  latest in thread

Message-ID: <5384D42A.8070904@vmware.com>
Permalink:  ../5384D42A.8070904@vmware.com/
Also on:    postgresql.org/message-id/5384D42A.8070904@vmware.com

 · 

reply

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: hlinnakangas@vmware.com, m.sakrejda@gmail.com
  Subject: Re: BUG #10432: failed to re-find parent key in index
  In-Reply-To: <5384D42A.8070904@vmware.com>
  References: <20140523175217.2692.50568@wrigleys.postgresql.org> <5384D42A.8070904@vmware.com>

* 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