pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Burgess, Freddie <FBurgess@Radiantblue.com>
Cc: "PostgreSQL Bugs ‎[pgsql-bugs@postgresql.org]‎" <pgsql-bugs@postgresql.org>
Subject: Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block
Date: Wed, 2 Jul 2014 13:09:44 +0200
Message-ID: <20140702110944.GL21169@awork2.anarazel.de> (raw)
In-Reply-To: <53B3E6C3.40003@vmware.com>
References: <3BBE635F64E28D4C899377A61DAA9FE02E66257B@NBSVR-MAIL01.radiantblue.local>
	<53B3E6C3.40003@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2014-07-02 14:02:27 +0300, Heikki Linnakangas wrote:
> On 07/02/2014 02:03 AM, Burgess, Freddie wrote:
> >  PostgreSQL version: 9.3.4
> >  Operating system:   rhel 6.4 linux
> >  Action: stream replication Master/Slave
> >  Description:
> >
> >Last entries in the PostgreSQL log file before the standby crashed, the primary seems unaffected
> >
> >LOG: restored log file "0000000100001127000000cc" from archive
> >FATAL: invalid page in block 464698 of relation pg_tblspc/16435/PG_9.3_201306121/16444/125127698
> >CONTEXT: xlog redo vacuum: rel 16435/16444/125127698; blk 512019, lastBlockVacuumed 0
> >LOG: startup process (PID 27797) exited with exit code 1
> >LOG: terminating any other active server processes
> >
> >We did re-started the database and the process of restoring the log file has continued beyond this point, but is are standby server corrupted?

Do you run with data checksums enabled?

> Sounds exactly like this bug:
> 
> http://www.postgresql.org/message-id/flat/CAL_0b1s4QCkFy_55kk_8XWcJPs7wsgVWf8vn4=jXe6V4R7Hxmg@mail.g...
> 
> but that was fixed in 9.3.3 already. Are you sure you're running 9.3.4 in
> the standby too?

Hm - that bug was about uninitialized pages, not invalid ones. I don't
immediately see why it'd be legal to have a invalid page (as in
!PageIsVerified()) somewhere? At least not after reaching consistency.

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <20140702110944.GL21169@awork2.anarazel.de>
Permalink:  ../20140702110944.GL21169@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20140702110944.GL21169@awork2.anarazel.de

 · 

reply

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: andres@2ndquadrant.com, hlinnakangas@vmware.com, FBurgess@Radiantblue.com
  Subject: Re: Postgresql 9.3.4 Streaming Replication Standby invalid Page block
  In-Reply-To: <20140702110944.GL21169@awork2.anarazel.de>
  References: <3BBE635F64E28D4C899377A61DAA9FE02E66257B@NBSVR-MAIL01.radiantblue.local> <53B3E6C3.40003@vmware.com> <20140702110944.GL21169@awork2.anarazel.de>

* 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