Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UO7Qe-0003bq-4r for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Apr 2013 14:15:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UO7Qd-0002iv-Az for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Apr 2013 14:15:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UO7Qc-0002ig-GL for pgsql-bugs@postgresql.org; Fri, 05 Apr 2013 14:15:42 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UO7QU-00025E-WF for pgsql-bugs@postgresql.org; Fri, 05 Apr 2013 14:15:42 +0000 Received: from anarazel.de (p5DDC768E.dip.t-dialin.net [93.220.118.142]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0Lkxnh-1UwLmS1vVd-00ak3y; Fri, 05 Apr 2013 16:15:33 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 5006E1C00F6; Fri, 5 Apr 2013 16:15:32 +0200 (CEST) Date: Fri, 5 Apr 2013 16:15:32 +0200 From: Andres Freund To: Sergey Konoplev Cc: Simon Riggs , pgsql-bugs@postgresql.org, Maxim Boguk , =?utf-8?B?0JzQsNC60YHQuNC8INCf0LDQvdGH0LXQvdC60L4=?= , =?utf-8?B?0KLQvtC70YHRgtC10L3QutC+INCY0LvRjNGP?= Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages Message-ID: <20130405141532.GD4326@awork2.anarazel.de> References: <675b7cee-b7f0-4e32-8e34-1efaf3ca5fe9@email.android.com> <20130329213834.GA26976@awork2.anarazel.de> <20130330172144.GI28736@alap2.anarazel.de> <20130402101012.GB2415@alap2.anarazel.de> <20130402182644.GJ2415@alap2.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:lrKQKU6FgPmAf8AIgai8M9xV5TJuWCfK8Kwcft7CdAY eWxtABIR0ukSbk2kceOXfetNIuITFVfzLi+o1ZshBOwDLKxkJN QJytaxU9dplaTJfa8H0L5U+8yB+5SRXesONLUxvAtEEA1FzDUT iwT7RefzN8ik29vLEpEkKwrABSwQ9d/LWwyKTDMQHZ2E/M654c 9H+oqYPXEbUhR3BvHZ5AK/SJg3p16oTGFOlSeck+ENrGVxJ+o7 ec3UL3cyFyJ9aXuB5vuuf6hM5Ncw6rwXUeIeC8vic7qXrEpy6R KbwWzCNaUFSDzxYii8bvsXQB7QE23aLkeI38NkuwCv4I/D/4mw TatFfo5HpUCGXAUjADF/eyBCXkcACQ9eyZFNX0yn8 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:10:12 -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. > > Thank you for the patch, Andres. > > Is it included in 9.2.4? No. Too late for that. It hasn't bee committed yet. > BTW, it has happened again and I am going to make a copy of the > cluster to be able to provide you some extra information. Do you still > need it? 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. Could you show the log? 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