From: Andres Freund <andres@2ndquadrant.com>
To: maciek@heroku.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8347: PANIC: heap_insert_redo: failed to add tuple when applying WAL
Date: Wed, 31 Jul 2013 06:28:32 +0200
Message-ID: <20130731042832.GG19053@alap2.anarazel.de> (raw)
In-Reply-To: <E1V4LCV-0007AE-8p@wrigleys.postgresql.org>
References: <E1V4LCV-0007AE-8p@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2013-07-31 01:27:39 +0000, maciek@heroku.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 8347
> Logged by: Maciek Sakrejda
> Email address: maciek@heroku.com
> PostgreSQL version: 9.2.4
> Operating system: Ubuntu 12.04.2 LTS 64-bit
> Description:
>
> Running into a recovery failure on a customer's replica:
>
>
> Jul 31 00:11:55: LOG: restored log file "00000001000000E200000067" from
> archive
> Jul 31 00:11:55: WARNING: will not overwrite a used ItemId
> Jul 31 00:11:55: CONTEXT: xlog redo insert: rel 1663/16385/16619; tid
> 25260/37
> Jul 31 00:11:55: PANIC: heap_insert_redo: failed to add tuple
> Jul 31 00:11:55: CONTEXT: xlog redo insert: rel 1663/16385/16619; tid
> 25260/37
>
>
> I see a similar bug filed [1], but no replies. This happens repeatedly when
> attempting to apply this segment.
Any chance you could https://github.com/snaga/xlogdump that and the
neighbouring segments? That might tell us whether we're dealing with
broken locking or possibly disk corruption (doesn't sound too likely).
Just to be sure, you're not running with full_page_writes = off or
something?
Could you possibly run a patched postgres against that, to get more
info?
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, maciek@heroku.com
Subject: Re: BUG #8347: PANIC: heap_insert_redo: failed to add tuple when applying WAL
In-Reply-To: <20130731042832.GG19053@alap2.anarazel.de>
References: <E1V4LCV-0007AE-8p@wrigleys.postgresql.org> <20130731042832.GG19053@alap2.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