From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Cc: mayank.mittal.1982@hotmail.com
Subject: Re: BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes
Date: Fri, 21 Sep 2012 00:10:35 +0200
Message-ID: <201209210010.35352.andres@2ndquadrant.com> (raw)
In-Reply-To: <15918.1348177132@sss.pgh.pa.us>
References: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org>
<201209202331.35967.andres@2ndquadrant.com>
<15918.1348177132@sss.pgh.pa.us>
On Thursday, September 20, 2012 11:38:52 PM Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On Thursday, September 20, 2012 07:15:17 PM Tom Lane wrote:
> >> Hmm. There is a fix for a slave-side-index-corruption problem in 9.1.6,
> >> which is due to be announced Monday. I am not certain whether this is
> >> the same thing though; that bug is low-probability as far as we can
> >> tell (it would only happen if the master had been in the middle of an
> >> index page split or page deletion at the instant of failover). Anyway
> >> the first thing to find out is whether 9.1.6 fixes it.
> >
> > I think the likelihood of that bug causing the the index file to be zero
> > bytes
>
> > - at least thats what I read from $subject - is really, really small:
> Sure, but what about the heap? The case I was speculating about was
> that the heap had been truncated, but because of the corruption problem,
> the index still had heap pointers in it. We don't know what file 16585
> is supposed to be.
Hm. Interesting thought.
*think*
Wouldn't the truncation have created a completely new index relation?
Greetings,
Andres
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
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, tgl@sss.pgh.pa.us, mayank.mittal.1982@hotmail.com
Subject: Re: BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes
In-Reply-To: <201209210010.35352.andres@2ndquadrant.com>
References: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org> <201209202331.35967.andres@2ndquadrant.com> <15918.1348177132@sss.pgh.pa.us> <201209210010.35352.andres@2ndquadrant.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