From: Andres Freund <andres@2ndquadrant.com>
To: Sergey Konoplev <gray.ru@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Cc: Максим Панченко <Panchenko@gw.tander.ru>
Cc: Толстенко Илья <tolstenko_iv@gw.tander.ru>
Cc: Сизов Сергей Павлович <sizov_sp@gw.tander.ru>
Cc: Соболев Виталий Анатольевич <sobolev_va@gw.tander.ru>
Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages
Date: Tue, 5 Nov 2013 21:04:57 +0100
Message-ID: <20131105200457.GF14819@awork2.anarazel.de> (raw)
In-Reply-To: <CAL_0b1uebnF4mKHzngihSWD5qfJVE40bfcPwZ7V=HO8dEx4ACw@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_0b1tyfAYxg0u7U6vhKn6e1PbBkib3hVh_o7Wqg0Cz4xTn1Q@mail.gmail.com>
<20131104094842.GH3567@awork2.anarazel.de>
<CAL_0b1uebnF4mKHzngihSWD5qfJVE40bfcPwZ7V=HO8dEx4ACw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2013-11-05 12:03:19 -0800, Sergey Konoplev wrote:
> On Mon, Nov 4, 2013 at 1:48 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> > On 2013-11-01 00:35:18 -0700, Sergey Konoplev wrote:
> >> On Tue, Apr 2, 2013 at 11:26 AM, Andres Freund <andres@2ndquadrant.com> 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.
> >>
> >> So, after half a year the same failure has happened again on the same
> >> replica, but now patched with the Andres' patch (9.2.4 + the patch)
> >> that was supposed to fix it.
> >
> > I think that's actually a different bug - what the patch was fixing was
> > the clog/subtrans errors, not the "reference to invalid pages".
>
> Can I do something to help fixing this particular bug? I backed up the
> relation and xlog files in case if someone need to dig it deeper.
>
> > I've submitted a fix for at least one cause causing that independently
> > from this bug which is included in 9.2.5
> > (17fa4c321ccf9693de406faffe6b235e949aa25f). Note thought that that fix
> > needed a fix iff using a cassert enabled build
> > (4da24f12e63313b7dbb6b3e3d0317e04045df636) which is *not* in 9.2.5.
As quoted above, I think the fix is in 9.2.5.
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
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, Panchenko@gw.tander.ru, tolstenko_iv@gw.tander.ru, sizov_sp@gw.tander.ru, sobolev_va@gw.tander.ru
Subject: Re: Completely broken replica after PANIC: WAL contains references to invalid pages
In-Reply-To: <20131105200457.GF14819@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_0b1tyfAYxg0u7U6vhKn6e1PbBkib3hVh_o7Wqg0Cz4xTn1Q@mail.gmail.com> <20131104094842.GH3567@awork2.anarazel.de> <CAL_0b1uebnF4mKHzngihSWD5qfJVE40bfcPwZ7V=HO8dEx4ACw@mail.gmail.com> <20131105200457.GF14819@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