Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UO7hX-0004ra-Vo for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Apr 2013 14:33:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UO7hX-000094-DL for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Apr 2013 14:33:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UO7hW-00008z-St for pgsql-bugs@postgresql.org; Fri, 05 Apr 2013 14:33:10 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UO7hS-0002Lp-AC for pgsql-bugs@postgresql.org; Fri, 05 Apr 2013 14:33:10 +0000 Received: from anarazel.de (p5DDC768E.dip.t-dialin.net [93.220.118.142]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MbEzf-1U3zcQ1Efj-00Kpl8; Fri, 05 Apr 2013 16:33:05 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 64B3E1C00F6; Fri, 5 Apr 2013 16:33:04 +0200 (CEST) Date: Fri, 5 Apr 2013 16:33:04 +0200 From: Andres Freund To: Sergey Konoplev Cc: Simon Riggs , pgsql-bugs@postgresql.org, Maxim Boguk Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages Message-ID: <20130405143304.GE4326@awork2.anarazel.de> References: <20130329213834.GA26976@awork2.anarazel.de> <20130330172144.GI28736@alap2.anarazel.de> <20130402101012.GB2415@alap2.anarazel.de> <20130402182644.GJ2415@alap2.anarazel.de> <20130405141532.GD4326@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:e8Z756+2t0QxkUQdVEQjo0RTYBj+nUCiiclntha7fkp OzmSaBDrk7oX5UWZq0im0bHilmoshoVzC33BzkZk+cwS6hAM6v za9MCgTAbLNrrCsVaBO8jfgEwxeIKXlKRhNHkh8BlOq2N2jKjM AgtpDAGIYvbN6KLdOxNeQ+2dnGhQyzQG/1K2adSPOXuIHnE6bI 5GLTg31yTYRo3jlHGUS5n27xtc06Rzozh0mdUowZDl3Mxq7w/j M0rebS3rnTM6S+UqYNLGHmySsC25G0PevJ04AY5CsKiFU2VdkR QEnirXRjlkfpgP9AuOa3UksPWjewMbV0t3Tnnh+S60WDyR+xPr FnUQ43/gnGPysjRcmIlJy2j+EgvhrXFv7TWC8i99n 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-04-05 07:22:08 -0700, Sergey Konoplev wrote: > On Fri, Apr 5, 2013 at 7:15 AM, Andres Freund wrote: > > Cool. It would be very helpful if you could apply the patch and verify > > that it works, it has been written somewhat blindly. Also I am afraid > > that at least last time there was a second bug involved. > > Okay, I will try to talk to admins but I am afraid it could take long. Ok. > > Could you show the log? > > 2013-04-05 17:26:31 MSK 2113 @ from [vxid: txid:0] [] LOG: database > system was shut down in recovery at 2013-04-05 17:18:02 MSK > 2013-04-05 17:26:32 MSK 2113 @ from [vxid: txid:0] [] LOG: entering > standby mode > 2013-04-05 17:26:32 MSK 2113 @ from [vxid:1/0 txid:0] [] LOG: redo > starts at 25BD/907338F8 > 2013-04-05 17:26:32 MSK 2113 @ from [vxid:1/0 txid:0] [] LOG: file > "pg_subtrans/28E5" doesn't exist, reading as zeroes Looks like it could be fixed by the patch. But that seems to imply that you restarted not long before that? Could you check if theres a different error before those? Greetings, Andres Freund PS: The tander.ru addresses seem to bounce all mail I send them... -- 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