Re: root cause of corruption in hot standby - Mailing list pgsql-admin

From Andres Freund
Subject Re: root cause of corruption in hot standby
Date
Msg-id 20181010192553.yithduf3yrxasilz@alap3.anarazel.de
Whole thread Raw
In response to root cause of corruption in hot standby  (Mike Broers <mbroers@gmail.com>)
Responses Re: root cause of corruption in hot standby
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Mike Broers
Date:
Subject: Re: root cause of corruption in hot standby
Next
From: Mike Broers
Date:
Subject: Re: root cause of corruption in hot standby