pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: phil.hildebrand@moz.com
Subject: BUG #15570: Vacuum analyze ERROR: MultiXactId XXXX has not been created yet -- apparent wraparound
Date: Mon, 31 Dec 2018 21:37:54 +0000
Message-ID: <15570-d920421b445027cc@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15570
Logged by:          Phil Hildebrand
Email address:      phil.hildebrand@moz.com
PostgreSQL version: 10.6
Operating system:   Ubuntu 16.04.5 LTS (linux)
Description:        

While running vacuum analyze before a materialized view refresh we started
seeing the following error in the logs:

 ERROR:  MultiXactId 1483293027 has not been created yet -- apparent
wraparound in the error logs 

Both selects against and pg_dumps of the table fail with the same error.

We were able narrow down the selects to at least one row / page that seems
to have problems:

select ctid,id from reviews_2018 where ctid = '(382604,16)'::tid;
    ctid     |                id                
-------------+----------------------------------
 (382604,16) | 00ec91e42d21ce0b818fe8f63ab94c66

select ctid,id from reviews_2018 where id = 
'00ec91e42d21ce0b818fe8f63ab94c66';
ERROR:  MultiXactId 1483293027 has not been created yet -- apparent
wraparound

We would not expect to see this without some kind of system issue, but there
is not indication there were any system or disk issues/errors at the time.

As a workaround, we restored the table from a previous backup.

Linux info:  4.4.0-140-generic #166-Ubuntu SMP Wed Nov 14 20:09:47 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
Postgres version: PostgreSQL 10.6 (Ubuntu 10.6-1.pgdg16.04+1) on
x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0
20160609, 64-bit



view thread (11+ messages)  latest in thread

Message-ID: <15570-d920421b445027cc@postgresql.org>
Permalink:  ../15570-d920421b445027cc@postgresql.org/
Also on:    postgresql.org/message-id/15570-d920421b445027cc@postgresql.org

 · 

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: noreply@postgresql.org, phil.hildebrand@moz.com
  Subject: Re: BUG #15570: Vacuum analyze ERROR: MultiXactId XXXX has not been created yet -- apparent wraparound
  In-Reply-To: <15570-d920421b445027cc@postgresql.org>
  References: <15570-d920421b445027cc@postgresql.org>

* 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