Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WpLlv-0000zR-OP for pgsql-bugs@arkaria.postgresql.org; Tue, 27 May 2014 18:06:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WpLlu-0007zk-8u for pgsql-bugs@arkaria.postgresql.org; Tue, 27 May 2014 18:06:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WpLls-0007zb-2p for pgsql-bugs@postgresql.org; Tue, 27 May 2014 18:06:44 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WpLln-0004UP-0s for pgsql-bugs@postgresql.org; Tue, 27 May 2014 18:06:40 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id E90159943E; Tue, 27 May 2014 11:06:36 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id E69164742C; Tue, 27 May 2014 11:06:36 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 37FED120030; Tue, 27 May 2014 11:06:46 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Tue, 27 May 2014 11:06:45 -0700 (PDT) Message-ID: <5384D42A.8070904@vmware.com> Date: Tue, 27 May 2014 21:06:34 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: m.sakrejda@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #10432: failed to re-find parent key in index References: <20140523175217.2692.50568@wrigleys.postgresql.org> In-Reply-To: <20140523175217.2692.50568@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) 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 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