From: Jakub Ouhrabka <jakub.ouhrabka@comgate.cz>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Corrupted index on 9.0.3 streaming hot standby
Date: Thu, 03 Mar 2011 17:39:57 +0100
Message-ID: <4D6FC45D.5030709@comgate.cz> (raw)
In-Reply-To: <AANLkTi=TCA9iOJJAxi29Uz6GZ+3=o99_E-F2pJ8Q3ZG+@mail.gmail.com>
References: <4D679081.4020801@comgate.cz>
<AANLkTi=TCA9iOJJAxi29Uz6GZ+3=o99_E-F2pJ8Q3ZG+@mail.gmail.com>
Hi Robert,
> If there hasn't been a system crash on the standby, then it's harder
> to explain. It'd be interesting to compare the disk blocks in the
> index on the standby with the disk blocks in the index on the master
> and figure out which ones are different and in what way. pg_filedump
> might be useful.
I think this is the case. We can even reproduce it: take another backup
of uncorrupted master and the slave is again corrupted.
The strange thing is that this only affects streaming replication
standby, not wal files shipping standby. Maybe we're doing something
wrong...
Could the reason for the strange behaviour (see previous mail) be
something different than corrupted index?
We'll try to reproduce it in testing environment and possibly create
reproducible test case. I'll definitely report back...
Regards,
Kuba
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: jakub.ouhrabka@comgate.cz, robertmhaas@gmail.com
Subject: Re: Corrupted index on 9.0.3 streaming hot standby
In-Reply-To: <4D6FC45D.5030709@comgate.cz>
References: <4D679081.4020801@comgate.cz> <AANLkTi=TCA9iOJJAxi29Uz6GZ+3=o99_E-F2pJ8Q3ZG+@mail.gmail.com> <4D6FC45D.5030709@comgate.cz>
* 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