Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ULh0V-00082B-L1 for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Mar 2013 21:38:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1ULh0U-0003X6-Sw for pgsql-bugs@arkaria.postgresql.org; Fri, 29 Mar 2013 21:38:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ULh0T-0003Wy-1l for pgsql-bugs@postgresql.org; Fri, 29 Mar 2013 21:38:41 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ULh0O-0004vb-SA for pgsql-bugs@postgresql.org; Fri, 29 Mar 2013 21:38:40 +0000 Received: from anarazel.de (p5DDC4B16.dip.t-dialin.net [93.220.75.22]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0Lxqdc-1UgqvX0bI4-015LPP; Fri, 29 Mar 2013 22:38:35 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 2C5E51C00F6; Fri, 29 Mar 2013 22:38:34 +0100 (CET) Date: Fri, 29 Mar 2013 22:38:34 +0100 From: Andres Freund To: Sergey Konoplev Cc: 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: <20130329213834.GA26976@awork2.anarazel.de> References: <675b7cee-b7f0-4e32-8e34-1efaf3ca5fe9@email.android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable X-Provags-ID: V02:K0:5yf1jSZyVSVGDK+Zw/iwGTmyDTrPexAFx1KkaPWLqQA ReDicwvlJAwysiatmjmf+v7gDkHBgANGYuAyBwdi1kISk8zL1+ P1GRuqqnhQndnA6eLtRkJLGGgT8AFdRZdWME1oOa97FHTeWQzD GK2skmqRtYhe0ix+HlD/I5/ivTjbKtZzbQe58Uo5487t/Za/Yg vzwbqSjAKCVkNP8hdsIzdq2M69d2DmryXGn2UNlaT6oP2A8pdE Az/BpH2qe1/CL+S+ggVrhawjFa9kad8EtvsxMqXu7Zvw70enbc StHg2SMJSmgo3i2Uxri4UapDNAXPY4JH0thKZLERz1awqsqZdS +8RQVDxOlrNI70vVwpAbgjUC9DH5qTtBM0BCp5Dii 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-03-29 14:19:59 -0700, Sergey Konoplev wrote: > On Fri, Mar 29, 2013 at 1:52 PM, anarazel@anarazel.de > wrote: > > I think I See whats going on. Do you still have the datadir available? = If so, could you send the pg_controldata output? >=20 > I have already rebuilt the replica, however below is the output if it is = useful: I have to admit, I find it a bit confusing that so many people report a bug and then immediately destroy all evidence of the bug. Just seems to a happen a bit too frequently. > pg_control version number: 922 > Catalog version number: 201204301 > Database system identifier: 5858109675396804534 > Database cluster state: in archive recovery > pg_control last modified: =D0=A1=D0=B1=D1=82 30 =D0=9C=D0=B0= =D1=80 2013 00:21:11 > Latest checkpoint location: 258B/BDBBE748 > Prior checkpoint location: 258B/86DABCB8 > Latest checkpoint's REDO location: 258B/8B78BED0 > Latest checkpoint's TimeLineID: 2 > Latest checkpoint's full_page_writes: on > Latest checkpoint's NextXID: 0/423386899 > Latest checkpoint's NextOID: 2758636912 > Latest checkpoint's NextMultiXactId: 103920 > Latest checkpoint's NextMultiOffset: 431309 > Latest checkpoint's oldestXID: 225634745 > Latest checkpoint's oldestXID's DB: 16436 > Latest checkpoint's oldestActiveXID: 421766298 > Time of latest checkpoint: =D0=9F=D1=82=D0=BD 29 =D0=9C=D0=B0= =D1=80 2013 22:33:01 Thats not a pg_controldata output from the broken replica though, or is it? I guess its from a new standby? Andres Greetings, Andres Freund --=20 Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs