From: Tom Lane <tgl@sss.pgh.pa.us>
To: mayank.mittal.1982@hotmail.com
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 13:15:17 -0400
Message-ID: <25722.1348161317@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org>
References: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org>
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:
> 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.
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.
regards, tom lane
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: 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: <25722.1348161317@sss.pgh.pa.us>
References: <E1TEjPD-0002Yq-7L@wrigleys.postgresql.org> <25722.1348161317@sss.pgh.pa.us>
* 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