pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Sergey Konoplev <gray.ru@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages
Date: Fri, 5 Apr 2013 16:33:04 +0200
Message-ID: <20130405143304.GE4326@awork2.anarazel.de> (raw)
In-Reply-To: <CAL_0b1uvJ3y6oi5sUnNrXOCPnVRksnv34Cc8Cy+Qr9VOY0NzoQ@mail.gmail.com>
References: <CAL_0b1vLSGx=ENLkSK1cyDtGcYVAb_im051w-bza3H-7dPgTBA@mail.gmail.com>
	<20130329213834.GA26976@awork2.anarazel.de>
	<CAL_0b1sJHOwmSDRkP8a8QFKVDTrvEkxN_LfD-GaBSPS4LC2v_w@mail.gmail.com>
	<20130330172144.GI28736@alap2.anarazel.de>
	<CA+U5nMKMSkcxr5HjrTzXtcMybK-0DAFQhOJ8G2KsvZMGtgULGA@mail.gmail.com>
	<20130402101012.GB2415@alap2.anarazel.de>
	<20130402182644.GJ2415@alap2.anarazel.de>
	<CAL_0b1sS2Bfx5Du4hpQy9caNx3CjsqwP+O9v8Lm8jgbnTTRqYw@mail.gmail.com>
	<20130405141532.GD4326@awork2.anarazel.de>
	<CAL_0b1uvJ3y6oi5sUnNrXOCPnVRksnv34Cc8Cy+Qr9VOY0NzoQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2013-04-05 07:22:08 -0700, Sergey Konoplev wrote:
> On Fri, Apr 5, 2013 at 7:15 AM, Andres Freund <andres@2ndquadrant.com> 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



view thread (29+ messages)  latest in thread

Message-ID: <20130405143304.GE4326@awork2.anarazel.de>
Permalink:  ../20130405143304.GE4326@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20130405143304.GE4326@awork2.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@2ndquadrant.com, gray.ru@gmail.com, simon@2ndquadrant.com, maxim.boguk@gmail.com
  Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages
  In-Reply-To: <20130405143304.GE4326@awork2.anarazel.de>
  References: <CAL_0b1vLSGx=ENLkSK1cyDtGcYVAb_im051w-bza3H-7dPgTBA@mail.gmail.com> <20130329213834.GA26976@awork2.anarazel.de> <CAL_0b1sJHOwmSDRkP8a8QFKVDTrvEkxN_LfD-GaBSPS4LC2v_w@mail.gmail.com> <20130330172144.GI28736@alap2.anarazel.de> <CA+U5nMKMSkcxr5HjrTzXtcMybK-0DAFQhOJ8G2KsvZMGtgULGA@mail.gmail.com> <20130402101012.GB2415@alap2.anarazel.de> <20130402182644.GJ2415@alap2.anarazel.de> <CAL_0b1sS2Bfx5Du4hpQy9caNx3CjsqwP+O9v8Lm8jgbnTTRqYw@mail.gmail.com> <20130405141532.GD4326@awork2.anarazel.de> <CAL_0b1uvJ3y6oi5sUnNrXOCPnVRksnv34Cc8Cy+Qr9VOY0NzoQ@mail.gmail.com> <20130405143304.GE4326@awork2.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox