Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, Andres Freund <andres(at)2ndquadrant(dot)com>, Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>, Максим Панченко <Panchenko(at)gw(dot)tander(dot)ru>, Сизов Сергей Павлович <sizov_sp(at)gw(dot)tander(dot)ru>, Мельковский Владимир Ярославович <Melkovskiy(at)gw(dot)tander(dot)ru>, Толстенко Илья <tolstenko_iv(at)gw(dot)tander(dot)ru>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Subject: Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages
Date: 2013-12-22 00:49:23
Message-ID: CAL_0b1tXw6cwFQv7LaU743sA+KjGvHKnOhjhfvLn-3YGLJ1x1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thu, Dec 19, 2013 at 2:37 PM, Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> wrote:
> Yesterday I upgraded both master and replica servers to 9.2.6,
> performed SET vacuum_freeze_table_age = 0; VACUUM; and then rebuild
> the replica from scratch.
>
> 2013-12-19 20:51:22 MSK 19938 @ from [vxid:1/0 txid:0] [] WARNING:
> page 14833 of relation base/16436/3321003988 is uninitialized
> 2013-12-19 20:51:22 MSK 19938 @ from [vxid:1/0 txid:0] [] CONTEXT:
> xlog redo vacuum: rel 1663/16436/3321003988; blk 38538,
> lastBlockVacuumed 0
> 2013-12-19 20:51:22 MSK 19938 @ from [vxid:1/0 txid:0] [] PANIC: WAL
> contains references to invalid pages
> 2013-12-19 20:51:22 MSK 19938 @ from [vxid:1/0 txid:0] [] CONTEXT:
> xlog redo vacuum: rel 1663/16436/3321003988; blk 38538,
> lastBlockVacuumed 0

FYI

Today we noticed that the PANIC happens on the same relation with the
same block and page. This is an index, created on Dec 10 with its
daily partition that was before I upgraded Postgres from 9.2.4 to
9.2.6. So probably it was a kind of aftermath of the pre-9.2.6
problems.

I have done reindex of this particular index on production, but I
still have the buggy copy of the cluster in case if someone would like
to dig the problem deeper.

Will keep you informed.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

http://www.linkedin.com/in/grayhemp
+1 (415) 867-9984, +7 (901) 903-0499, +7 (988) 888-1979
gray(dot)ru(at)gmail(dot)com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message chris 2013-12-22 01:56:13 BUG #8695: Reloading dump fails at COMMENT ON EXTENSION plpgsql
Previous Message Sergey Konoplev 2013-12-21 09:04:00 Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-12-22 02:11:47 Re: SQL objects UNITs
Previous Message Tom Lane 2013-12-22 00:18:18 Re: WITHIN GROUP patch