Re: error in vacuum

From: Dave Peticolas <dave(at)krondo(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: error in vacuum
Date: 2018-09-02 02:40:54
Message-ID: CAPRbp07nPX_1ZcL2XkN+f9uR2dvxz1Tbv8Zmd-vkC6M2iJPrAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Sep 1, 2018 at 7:24 PM Andres Freund <andres(at)anarazel(dot)de> wrote:

> On 2018-09-01 19:02:18 -0700, Dave Peticolas wrote:
> > On Sat, Sep 1, 2018 at 6:56 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >
> > > Dave Peticolas <dave(at)krondo(dot)com> writes:
> > > >>> I'm seeing this error on a table repeatedly:
> > > >>> found update xid 3433096759 <(343)%20309-6759> <(343)%20309-6759>
> from before
> > > relfrozenxid 3498422955
> > >
> > > >> This is a primary, 9.6.8 to be exact.
> > >
> > > This message is known to be associated with several data-corruption
> bugs
> > > we've fixed recently. You should update to current (9.6.10) sooner not
> > > later. I don't think that will cure existing corruption for you, but
> > > it should prevent things from getting worse.
> > >
> >
> > Ok, thank you for that information I will do so. The
> dump/truncate/restore
> > I mentioned in a later post seems to fix the corruption in a restored DB.
> > Given the nature of the bug do you think that would fix that table?
>
> Yes, it's fairly likely that it does. You might even get around it by
> just doing a no-op update of the whole table. Nevertheless you need to
> upgrade, or more of that corruption can occur.
>

Indeed, that does seem to fix the issue and is much simpler, thank you. I'm
going to schedule this upgrade with all due haste.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message greigwise 2018-09-02 04:06:33 pg_basebackup: could not receive data from WAL stream
Previous Message Andres Freund 2018-09-02 02:24:01 Re: error in vacuum