Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEoxK-00010N-TZ for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 22:10:47 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEoxJ-00047p-A3 for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 22:10:46 +0000 Received: from awork2.localnet (p5DDC770F.dip.t-dialin.net [93.220.119.15]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0Lsi1h-1TcihR0TQf-012om0; Fri, 21 Sep 2012 00:10:36 +0200 From: Andres Freund Organization: 2ndquadrant.com To: Tom Lane 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 User-Agent: KMail/1.13.7 (Linux/3.6.0-rc6-andres-00066-g2682cc4-dirty; KDE/4.8.4; x86_64; ; ) Cc: pgsql-bugs@postgresql.org, mayank.mittal.1982@hotmail.com References: <201209202331.35967.andres@2ndquadrant.com> <15918.1348177132@sss.pgh.pa.us> In-Reply-To: <15918.1348177132@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201209210010.35352.andres@2ndquadrant.com> X-Provags-ID: V02:K0:2SgIV/oUBlqJdJaB5Zx/yXFANPHIuRRjKm5lZXwo9MK WVt2u+5f7OV9YkekfQuzVwNugdmeQM1p5Poa8FTB8Vsbnt/jR8 MKVK9AyFpJ5hLPSB3Jt/GnqcDKnW0PMyzfKlBUkq6ePzwnk0ba pus4MOLqXz2DUMC0cDxO0JFGLnTz0W1/XFvG42ldjogvJNQ5oT KFgsfliqloLoKO6FSkru8Ym+eUdOqn+ESgTd42mDmym1H2B8PK s+LjDXtEOeHzf5eZd5H6Q6RHbYazoY+nTgIgztIEPdHxyNnkQX coYay3LXCQ6Z3nBNTHB2qHfVEhHajm2mTxOuYRphXzWHUS2koT 5s78RlgPRAx19n28cEmg/esb1eA4LRGEurIeLyaQ6aHC4KWi1d 0mtjKEkgagCiA== X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/236 X-Sequence-Number: 34230 On Thursday, September 20, 2012 11:38:52 PM Tom Lane wrote: > Andres Freund 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