pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: root@simply.name
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14189: Corrupted WAL through replication protocol
Date: Mon, 20 Jun 2016 13:36:48 -0400
Message-ID: <20160620173648.GA26973@alvherre.pgsql> (raw)
In-Reply-To: <20160614103415.5796.6885@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

root@simply.name wrote:

> root@xdb2018f /tmp # /usr/pgsql-9.5/bin/pg_xlogdump /tmp/normal/00000001000024DB00000072 /tmp/normal/00000001000024DB00000072 | fgrep -C1 24DB/72095CC8

So the problem record is:

> rmgr: Gin         len (rec/tot):      2/   412, tx:  193820712, lsn: 24DB/72095E50, prev 24DB/72095CC8, desc: INSERT isdata: F isleaf: T isdelete: T, blkref #0: rel 1663/16400/18030 blk 368350

for which you got this message:

> root@xdb2018f /tmp # /usr/pgsql-9.5/bin/pg_xlogdump /tmp/problem/00000001000024DB00000072 /tmp/problem/00000001000024DB00000072 | fgrep -C1 24DB/72095CC8
> pg_xlogdump: FATAL:  error in WAL record at 24DB/72095E50: unexpected pageaddr 24D9/23096000 in log segment 00000000000024DB00000072, offset 614400

This is very odd.  24D9/23096000 looks like a valid address, perhaps
something that was left uninitialized from a previous write rather than
random corruption.

I don't suppose you can reproduce this at will, can you?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, 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 (3+ messages)  latest in thread

Message-ID: <20160620173648.GA26973@alvherre.pgsql>
Permalink:  ../20160620173648.GA26973@alvherre.pgsql/
Also on:    postgresql.org/message-id/20160620173648.GA26973@alvherre.pgsql

 · 

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: alvherre@2ndquadrant.com, root@simply.name
  Subject: Re: BUG #14189: Corrupted WAL through replication protocol
  In-Reply-To: <20160620173648.GA26973@alvherre.pgsql>
  References: <20160614103415.5796.6885@wrigleys.postgresql.org> <20160620173648.GA26973@alvherre.pgsql>

* 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