Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W2pIm-0000iJ-1m for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Jan 2014 21:44:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W2pIl-0004er-G3 for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Jan 2014 21:44:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W2pIk-0004dn-Ay for pgsql-bugs@postgresql.org; Mon, 13 Jan 2014 21:44:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W2pIi-0003Ul-50 for pgsql-bugs@postgresql.org; Mon, 13 Jan 2014 21:44:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s0DLhjFD019747; Mon, 13 Jan 2014 16:43:45 -0500 From: Tom Lane To: Andres Freund cc: Heikki Linnakangas , Sergey Konoplev , matioli.matheus@gmail.com, pgsql-bugs , Maxim Boguk , =?utf-8?B?0JzQsNC60YHQuNC8INCf0LDQvdGH0LXQvdC60L4=?= , =?utf-8?B?0KHQuNC30L7QsiDQodC10YDQs9C10Lkg0J/QsNCy0LvQvtCy0LjRhw==?= Subject: Re: Hot standby 9.2.6 -> 9.2.6 PANIC: WAL contains references to invalid pages In-reply-to: <20140113213659.GC5838@awork2.anarazel.de> References: <20140106134815.GE28320@alap2.anarazel.de> <52CABF3E.2050004@vmware.com> <17450.1389644346@sss.pgh.pa.us> <20140113202600.GB14861@awork2.anarazel.de> <52D44F40.1000803@vmware.com> <20140113210245.GD14861@awork2.anarazel.de> <19262.1389648348@sss.pgh.pa.us> <20140113213659.GC5838@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 13 Jan 2014 22:36:59 +0100" Date: Mon, 13 Jan 2014 16:43:45 -0500 Message-ID: <19746.1389649425@sss.pgh.pa.us> X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Andres Freund 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs