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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>, matioli(dot)matheus(at)gmail(dot)com, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, Maxim Boguk <maxim(dot)boguk(at)gmail(dot)com>, Максим Панченко <Panchenko(at)gw(dot)tander(dot)ru>, Сизов Сергей Павлович <sizov_sp(at)gw(dot)tander(dot)ru>
Subject: Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages
Date: 2014-01-13 21:43:45
Message-ID: 19746.1389649425@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On 2014-01-13 16:25:48 -0500, Tom Lane wrote:
>> If we did, then either the master would also have failed (so we'd not
>> be here), or there's a discrepancy between master and slave data,
>> in which case we've got bigger problems than this.

> If we crashed during replay and then restart replaying it might, at
> least without the STANDBY_SNAPSHOT_READY check. I think.

Perhaps, but the code in question isn't needed during crash recovery, only
during hot standby; so modulo the possibility that the check for that is
broken, I don't see a problem.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2014-01-13 22:04:40 Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages
Previous Message Andres Freund 2014-01-13 21:40:22 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 David Fetter 2014-01-13 21:45:08 Re: Disallow arrays with non-standard lower bounds
Previous Message Andres Freund 2014-01-13 21:40:22 Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages