Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEkVG-0005AM-1y for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 17:25:30 +0000 Received: from col0-omc2-s7.col0.hotmail.com ([65.55.34.81]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEkVE-0008JQ-70 for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 17:25:29 +0000 Received: from COL002-W47 ([65.55.34.71]) by col0-omc2-s7.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 20 Sep 2012 10:25:26 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_5270e588-231a-40de-8f8a-5c8b2a9a47be_" X-Originating-IP: [117.199.222.106] From: Mayank Mittal To: Tom Lane CC: "pgsql-bugs@postgresql.org" Subject: Re: BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes Date: Thu, 20 Sep 2012 22:55:26 +0530 Importance: Normal In-Reply-To: <25722.1348161317@sss.pgh.pa.us> References: , <25722.1348161317@sss.pgh.pa.us> MIME-Version: 1.0 X-OriginalArrivalTime: 20 Sep 2012 17:25:26.0712 (UTC) FILETIME=[ECA86B80:01CD9754] X-Pg-Spam-Score: -2.2 (--) X-Archive-Number: 201209/233 X-Sequence-Number: 34227 --_5270e588-231a-40de-8f8a-5c8b2a9a47be_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Tom=2C Thanks for the information. But problem is it is occurring= quite frequently in my case. Regards=2C Mayank Mittal > From: tgl@sss.pgh.pa.us > To: mayank.mittal.1982@hotmail.com > CC: pgsql-bugs@postgresql.org > Subject: Re: [BUGS] BUG #7562: could not read block 0 in file "base/16385= /16585": read only 0 of 8192 bytes > Date: Thu=2C 20 Sep 2012 13:15:17 -0400 >=20 > mayank.mittal.1982@hotmail.com writes: > > The following bug has been logged on the website: > > Bug reference: 7562 > > Logged by: Mayank Mittal > > Email address: mayank.mittal.1982@hotmail.com > > PostgreSQL version: 9.1.5 > > Operating system: Debian Linux 6.0 > > Description: =20 >=20 > > We are using 2 node set-up of PostgreSQL 9.1.5 in which one is master a= nd > > other is slave which is in sync of master with streaming replication.=20 > > The design is in such a way that in case of master node failure the sla= ve > > node has to take master role. I'm controlling this behaviour using Coro= sync > > and Heartbeat. > > My application is requirement needs heavy database updates. Upon fail-o= ver > > I've noticed that database indexes got corrupted.=20 >=20 > Hmm. There is a fix for a slave-side-index-corruption problem in 9.1.6= =2C > which is due to be announced Monday. I am not certain whether this is > the same thing though=3B 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. >=20 > regards=2C tom lane >=20 >=20 > --=20 > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs = --_5270e588-231a-40de-8f8a-5c8b2a9a47be_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello Tom=2C
 =3B  =3BThanks for the informatio= n.
 =3B  = =3BBut problem is it is =3B= occurring =3Bqui= te frequently in my case.

Regards=2C

Mayan= k Mittal


>=3B From: tgl@sss.pgh.pa.us
>=3B To: mayank.mittal.1982@hotmail.co= m
>=3B CC: pgsql-bugs@postgresql.org
>=3B Subject: Re: [BUGS] BUG= #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8= 192 bytes
>=3B Date: Thu=2C 20 Sep 2012 13:15:17 -0400
>=3B
&= gt=3B mayank.mittal.1982@hotmail.com writes:
>=3B >=3B The following= bug has been logged on the website:
>=3B >=3B Bug reference: 7= 562
>=3B >=3B Logged by: Mayank Mittal
>=3B >=3B Ema= il address: mayank.mittal.1982@hotmail.com
>=3B >=3B PostgreSQL= version: 9.1.5
>=3B >=3B Operating system: Debian Linux 6.0
&g= t=3B >=3B Description:
>=3B
>=3B >=3B We are using 2= node set-up of PostgreSQL 9.1.5 in which one is master and
>=3B >= =3B other is slave which is in sync of master with streaming replication. <= br>>=3B >=3B The design is in such a way that in case of master node fa= ilure the slave
>=3B >=3B node has to take master role. I'm controll= ing this behaviour using Corosync
>=3B >=3B and Heartbeat.
>=3B= >=3B My application is requirement needs heavy database updates. Upon fa= il-over
>=3B >=3B I've noticed that database indexes got corrupted. =
>=3B
>=3B Hmm. There is a fix for a slave-side-index-corruptio= n problem in 9.1.6=2C
>=3B which is due to be announced Monday. I am = not certain whether this is
>=3B the same thing though=3B that bug is = low-probability as far as we can
>=3B tell (it would only happen if th= e master had been in the middle of an
>=3B index page split or page de= letion at the instant of failover). Anyway
>=3B the first thing to fi= nd out is whether 9.1.6 fixes it.
>=3B
>=3B regards=2C tom la= ne
>=3B
>=3B
>=3B --
>=3B Sent via pgsql-bugs mailin= g list (pgsql-bugs@postgresql.org)
>=3B To make changes to your subscr= iption:
>=3B http://www.postgresql.org/mailpref/pgsql-bugs
= --_5270e588-231a-40de-8f8a-5c8b2a9a47be_--