pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wong, Yi Wen <yiwong@amazon.com>
To: Andres Freund <andres@anarazel.de>
To: Paolo Crosato <paolo.crosato@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Error on vacuum: xmin before relfrozenxid
Date: Thu, 24 May 2018 20:25:04 +0000
Message-ID: <1527193504642.36340@amazon.com> (raw)
In-Reply-To: <20180522233957.zbflihb5qrsh3vqp@alap3.anarazel.de>
References: <CAKMFJucqbuoDRfxPDX39WhA3vJyxweRg_zDVXzncr6+5wOguWA@mail.gmail.com>
	<20180522164911.lczs6qsod23tx6eb@alap3.anarazel.de>
	<CAKMFJufB73W04jTYUVEdUgcsicW6F_wUrAv-dgWxinSoCTLBdw@mail.gmail.com>
	<20180522211937.bfotr476fkn3rav6@alap3.anarazel.de>
	<CAKMFJucLdKK+Js1+o+z-aJ8qRuWMSivmpzPK_8zQNLLpysRsAA@mail.gmail.com>
	<20180522233957.zbflihb5qrsh3vqp@alap3.anarazel.de>

Hello,

We have also seen this issue ourselves and are actively working on it. We do not have a definite proposed solution or full RCA yet, but we have managed to narrow down the cause to stale values of relfrozenxid in the relcache for shared relations.

We are in the process of coming up with a repro as well. 

A proposed workaround to this issue is to delete global/pg_internal.init. That will allow a vacuum of the shared relation to proceed.

Thanks,

Yi Wen Wong





view thread (12+ messages)

Message-ID: <1527193504642.36340@amazon.com>
Permalink:  ../1527193504642.36340@amazon.com/
Also on:    postgresql.org/message-id/1527193504642.36340@amazon.com

 · 

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-general@postgresql.org
  Cc: yiwong@amazon.com, andres@anarazel.de, paolo.crosato@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: Error on vacuum: xmin before relfrozenxid
  In-Reply-To: <1527193504642.36340@amazon.com>
  References: <CAKMFJucqbuoDRfxPDX39WhA3vJyxweRg_zDVXzncr6+5wOguWA@mail.gmail.com> <20180522164911.lczs6qsod23tx6eb@alap3.anarazel.de> <CAKMFJufB73W04jTYUVEdUgcsicW6F_wUrAv-dgWxinSoCTLBdw@mail.gmail.com> <20180522211937.bfotr476fkn3rav6@alap3.anarazel.de> <CAKMFJucLdKK+Js1+o+z-aJ8qRuWMSivmpzPK_8zQNLLpysRsAA@mail.gmail.com> <20180522233957.zbflihb5qrsh3vqp@alap3.anarazel.de> <1527193504642.36340@amazon.com>

* 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