Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VdmsH-00010Q-Ee for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Nov 2013 20:05:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VdmsG-00021i-Q5 for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Nov 2013 20:05:16 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VdmsG-00021U-3q for pgsql-bugs@postgresql.org; Tue, 05 Nov 2013 20:05:16 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VdmsD-0002Z7-4A for pgsql-bugs@postgresql.org; Tue, 05 Nov 2013 20:05:15 +0000 Received: from anarazel.de (p5DDC6B7E.dip0.t-ipconnect.de [93.220.107.126]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LoaZ0-1W750q0x6w-00goWX; Tue, 05 Nov 2013 21:04:58 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 916531008FF; Tue, 5 Nov 2013 21:04:57 +0100 (CET) Date: Tue, 5 Nov 2013 21:04:57 +0100 From: Andres Freund To: Sergey Konoplev Cc: Simon Riggs , pgsql-bugs , Maxim Boguk , =?utf-8?B?0JzQsNC60YHQuNC8INCf0LDQvdGH0LXQvdC60L4=?= , =?utf-8?B?0KLQvtC70YHRgtC10L3QutC+INCY0LvRjNGP?= , =?utf-8?B?0KHQuNC30L7QsiDQodC10YDQs9C10Lkg0J/QsNCy0LvQvtCy0LjRhw==?= , =?utf-8?B?0KHQvtCx0L7Qu9C10LIg0JLQuNGC0LDQu9C40Lkg0JDQvdCw0YLQvtC70Yw=?= =?utf-8?B?0LXQstC40Yc=?= Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages Message-ID: <20131105200457.GF14819@awork2.anarazel.de> References: <20130329213834.GA26976@awork2.anarazel.de> <20130330172144.GI28736@alap2.anarazel.de> <20130402101012.GB2415@alap2.anarazel.de> <20130402182644.GJ2415@alap2.anarazel.de> <20131104094842.GH3567@awork2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:IaYVZ42X0m6P0N+hT8/wxwWDsN7o3s/0rATns8rCCPB prP88dJJSmVQT9k7IXNn6gCyo98Om4eWUSgtULhkfgDH2qGGgU 4I0fsMLQ9CAQJOwzU9y1cxR5c2twBxT9LJaBh78/AGAK5xs2MU ek5PdK8MCmx1szXgtoP20eKHQh02GaY0E41YHIOHuYvaM7C/Ek 1QfJw6ReyyCSTGM4Mu4PY/OAmdfKvxjwpjNW4APvuHHBJeDTjP bWlFjL7LfexNnCiss8xqfeDUin+v0EyZb48wtubO50aQIp0lzw nprSLbCcoYA5/+6U66nrpW4cPkiCJoZ6AEBLekwGImkKBewxCS sMW7Gq2KorKM0SXGie6Hupa83lwhBo2Gnn4crSHLD X-Pg-Spam-Score: -1.9 (-) 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 On 2013-11-05 12:03:19 -0800, Sergey Konoplev wrote: > On Mon, Nov 4, 2013 at 1:48 AM, Andres Freund wrote: > > On 2013-11-01 00:35:18 -0700, Sergey Konoplev wrote: > >> On Tue, Apr 2, 2013 at 11:26 AM, Andres Freund wrote: > >> > The attached patch fixes this although I don't like the way it knowledge of the > >> > point up to which StartupSUBTRANS zeroes pages is handled. > >> > >> So, after half a year the same failure has happened again on the same > >> replica, but now patched with the Andres' patch (9.2.4 + the patch) > >> that was supposed to fix it. > > > > I think that's actually a different bug - what the patch was fixing was > > the clog/subtrans errors, not the "reference to invalid pages". > > Can I do something to help fixing this particular bug? I backed up the > relation and xlog files in case if someone need to dig it deeper. > > > I've submitted a fix for at least one cause causing that independently > > from this bug which is included in 9.2.5 > > (17fa4c321ccf9693de406faffe6b235e949aa25f). Note thought that that fix > > needed a fix iff using a cassert enabled build > > (4da24f12e63313b7dbb6b3e3d0317e04045df636) which is *not* in 9.2.5. As quoted above, I think the fix is in 9.2.5. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, 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