Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEjPF-0003cf-TT for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 16:15:13 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEjPE-00039Y-Tz for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 16:15:13 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEjPD-0007l2-SK for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 16:15:11 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TEjPD-0002Yq-7L for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 16:15:11 +0000 Date: Thu, 20 Sep 2012 16:15:11 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7562: could not read block 0 in file "base/16385/16585": read only 0 of 8192 bytes To: pgsql-bugs@postgresql.org From: mayank.mittal.1982@hotmail.com X-Pg-Spam-Score: -1.6 (-) X-Archive-Number: 201209/230 X-Sequence-Number: 34224 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: = We are using 2 node set-up of PostgreSQL 9.1.5 in which one is master and other is slave which is in sync of master with streaming replication. = The design is in such a way that in case of master node failure the slave node has to take master role. I'm controlling this behaviour using Corosync and Heartbeat. My application is requirement needs heavy database updates. Upon fail-over I've noticed that database indexes got corrupted. = I'm not sure why this is happening. I was referring release notes of 9.1.3 and found similar issue is already fixed in it, but we are facing the same.