Re: BUG #8347: PANIC: heap_insert_redo: failed to add tuple when applying WAL

From: Maciek Sakrejda <maciek(at)heroku(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8347: PANIC: heap_insert_redo: failed to add tuple when applying WAL
Date: 2013-08-01 21:13:30
Message-ID: CAKwe89AGDxPcLbptpmXTXtfLM4bTSo5itJ0sdHmsz8oJWwMrTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Jul 30, 2013 at 9:28 PM, Andres Freund <andres(at)2ndquadrant(dot)com>wrote:

> 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).
>

Actually, we did find what looks like some pretty crazy disk corruption
after I reported this (heap tuple data in pg_clog files). I'm surprised
Postgres did not wig out more, actually. I can run xlogdump later this week
if it's still of interest, but I'm pretty satisfied that this was not
Postgres' fault.

Incidentally, the system performed admirably in the course of the recovery,
considering the severely compromised state of heap and clog data. I'm
really glad we're using Postgres.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Kirkwood 2013-08-01 21:47:19 Re: R: Re: postgresql 8.4 on android table with debian installed (Debian Kit APK)
Previous Message Josh Berkus 2013-08-01 18:00:29 Re: pgBench cannot use prepared statements and reconnections