Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6Mva-00026n-Q2 for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Feb 2013 15:10:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U6Mva-0000dz-9W for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Feb 2013 15:10:18 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6MvZ-0000cR-B0 for pgsql-bugs@postgresql.org; Fri, 15 Feb 2013 15:10:17 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6MvX-0000Mm-2n for pgsql-bugs@postgresql.org; Fri, 15 Feb 2013 15:10:15 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id A2C032861D; Fri, 15 Feb 2013 07:10:13 -0800 (PST) Received: from zcs-prod-mta-3.vmware.com (zcs-prod-mta-3.vmware.com [10.113.163.65]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 9FF6340192; Fri, 15 Feb 2013 07:10:13 -0800 (PST) Received: from zcs-prod-mta-3.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTP id 8EEE3E0036; Fri, 15 Feb 2013 07:10:13 -0800 (PST) Received: from [10.113.226.235] (unknown [10.113.160.14]) by zcs-prod-mta-3.vmware.com (Postfix) with ESMTPSA; Fri, 15 Feb 2013 07:10:12 -0800 (PST) Message-ID: <511E4FD1.4000902@vmware.com> Date: Fri, 15 Feb 2013 17:10:09 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: maciek@heroku.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7883: "PANIC: WAL contains references to invalid pages" on replica recovery References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -3.3 (---) 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 15.02.2013 03:49, maciek@heroku.com wrote: > The following bug has been logged on the website: > > Bug reference: 7883 > Logged by: Maciek Sakrejda > Email address: maciek@heroku.com > PostgreSQL version: 9.1.8 > Operating system: Ubuntu 12.04 64-bit > Description: > > We ran into a customer database giving us the error above when replicating > from 9.1.7 to 9.1.8 and attempting to fail over to the 9.1.8. I noticed > several fixes to WAL replay in 9.1.8--could this be a factor in this case? > ... > Feb 15 00:49:16 [1305-1] [COPPER] LOG: archive recovery complete > Feb 15 00:49:16 [1306-1] [COPPER] WARNING: page 37956 of relation > base/16385/16430 was uninitialized > Feb 15 00:49:16 [1307-1] [COPPER] PANIC: WAL contains references to > invalid pages Hmm, that sure looks like the same issue Kyotaro HORIGUCHI reported (http://www.postgresql.org/message-id/20121206.130458.170549097.horiguchi.kyotaro@lab.ntt.co.jp), but that was fixed in 9.1.8. Maybe there's some corner case where it's still not working. Did you keep a copy of the WAL involved? Any chance of running xlogdump on it, and posting the results, or just sending over the WAL files so I could take a look? - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs