pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Mike Broers <mbroers@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: root cause of corruption in hot standby
Date: Wed, 10 Oct 2018 12:25:53 -0700
Message-ID: <20181010192553.yithduf3yrxasilz@alap3.anarazel.de> (raw)
In-Reply-To: <CAB9893iR3-xCEoLTLrxuEmeeTbid7Omq0ZJHG=+MB9JBKb_esA@mail.gmail.com>
References: <CAB9893iR3-xCEoLTLrxuEmeeTbid7Omq0ZJHG=+MB9JBKb_esA@mail.gmail.com>

Hi,

On 2018-09-06 12:28:18 -0500, Mike Broers wrote:
> So I have discovered corruption in a postgres 9.5.12 read replica, yay
> checksums!
> 
> 2018-09-06 12:00:53 CDT [1563]: [4-1] user=postgres,db=production WARNING:
> page verification failed, calculated checksum 3482 but expected 32232
> 
> 2018-09-06 12:00:53 CDT [1563]: [5-1] user=postgres,db=production ERROR:
> invalid page in block 15962 of relation base/16384/464832386

Have you compared whether that block looks significantly different on
the primary from the standby with a hex editor?

Greetings,

Andres Freund




view thread (12+ messages)  latest in thread

Message-ID: <20181010192553.yithduf3yrxasilz@alap3.anarazel.de>
Permalink:  ../20181010192553.yithduf3yrxasilz@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181010192553.yithduf3yrxasilz@alap3.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: andres@anarazel.de, mbroers@gmail.com
  Subject: Re: root cause of corruption in hot standby
  In-Reply-To: <20181010192553.yithduf3yrxasilz@alap3.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