pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Kamigishi Rei <iijima.yun@koumakan.jp>
Cc: David Rowley <dgrowley@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #17245: Index corruption involving deduplicated entries
Date: Thu, 28 Oct 2021 14:36:12 -0700
Message-ID: <20211028213612.vv2q4rcd5lcosubv@alap3.anarazel.de> (raw)
In-Reply-To: <CAH2-Wz=WOp0mtu6so+4yjMaCUu+2hAmY8g-7AuGmkyX51iSCDA@mail.gmail.com>
References: <CA+hUKGLv2yaZp+y5hr7Occg-86y+5-+ZSDmWPzKV1NuBFSXzCw@mail.gmail.com>
	<84f64b71-1320-591d-5101-560ae5487779@koumakan.jp>
	<CAH2-WzmLapjJXL4ZNhJJYsbmUUGFJq5Jt2owkUDJhRWXehrgyQ@mail.gmail.com>
	<CAH2-WzmD_mZDm1Sb1C=nqUWj3cLTDoamx9EL_Tpwws_Ur9eFww@mail.gmail.com>
	<9076c0bd-e238-5f8d-1117-7f5549e35c33@koumakan.jp>
	<CAH2-Wzm0GZnNgNeHx-W-4ogR1RB1gGk_efMiWuinXFyMWzjb=w@mail.gmail.com>
	<CAH2-WznotEY2YXLBA44oqWLtQUTYHAKWnujCWmmWgthKhZ-97w@mail.gmail.com>
	<4c0d2dff-9fa2-1db0-0d0f-c84aefddfaab@koumakan.jp>
	<CAH2-Wz=s5EMTPeXYO9vS9Pdtq8UkY77qAdmEQ4sL1UMODK8zEA@mail.gmail.com>
	<CAH2-Wz=WOp0mtu6so+4yjMaCUu+2hAmY8g-7AuGmkyX51iSCDA@mail.gmail.com>

Hi,

On 2021-10-28 14:18:32 -0700, Peter Geoghegan wrote:
> Note that the other people that had similar complaints about Postgres 14 all
> used foreign keys on affected tables.

Do you have links to the other reports?


> * The transaction ID 365637 is very over-represented, appearing in
> several corrupt heap tuple headers, located across several heap pages.
> 
> * Its "neighbor" transaction ID is 365638, which appears once more. To
> me this suggests some kind of confusion with an OldestXmin style
> cutoff during VACUUM.

I'm not quite following this bit, could you expand on that?

Greetings,

Andres Freund





view thread (103+ messages)  latest in thread

Message-ID: <20211028213612.vv2q4rcd5lcosubv@alap3.anarazel.de>
Permalink:  ../20211028213612.vv2q4rcd5lcosubv@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20211028213612.vv2q4rcd5lcosubv@alap3.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@anarazel.de, pg@bowt.ie, iijima.yun@koumakan.jp, dgrowley@gmail.com, thomas.munro@gmail.com, andrew@tao11.riddles.org.uk
  Subject: Re: BUG #17245: Index corruption involving deduplicated entries
  In-Reply-To: <20211028213612.vv2q4rcd5lcosubv@alap3.anarazel.de>
  References: <CA+hUKGLv2yaZp+y5hr7Occg-86y+5-+ZSDmWPzKV1NuBFSXzCw@mail.gmail.com> <84f64b71-1320-591d-5101-560ae5487779@koumakan.jp> <CAH2-WzmLapjJXL4ZNhJJYsbmUUGFJq5Jt2owkUDJhRWXehrgyQ@mail.gmail.com> <CAH2-WzmD_mZDm1Sb1C=nqUWj3cLTDoamx9EL_Tpwws_Ur9eFww@mail.gmail.com> <9076c0bd-e238-5f8d-1117-7f5549e35c33@koumakan.jp> <CAH2-Wzm0GZnNgNeHx-W-4ogR1RB1gGk_efMiWuinXFyMWzjb=w@mail.gmail.com> <CAH2-WznotEY2YXLBA44oqWLtQUTYHAKWnujCWmmWgthKhZ-97w@mail.gmail.com> <4c0d2dff-9fa2-1db0-0d0f-c84aefddfaab@koumakan.jp> <CAH2-Wz=s5EMTPeXYO9vS9Pdtq8UkY77qAdmEQ4sL1UMODK8zEA@mail.gmail.com> <CAH2-Wz=WOp0mtu6so+4yjMaCUu+2hAmY8g-7AuGmkyX51iSCDA@mail.gmail.com> <20211028213612.vv2q4rcd5lcosubv@alap3.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