pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Michail Nikolaev <michail.nikolaev@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Smolkin Grigory <smallkeen@gmail.com>
Subject: Re: race condition in pg_class
Date: Thu, 13 Jun 2024 13:22:23 -0700
Message-ID: <20240613202223.11.nmisch@google.com> (raw)
In-Reply-To: <CANtu0ogYLrufbSWOLDjfcDNCU=R6i2SJCEG_Uejtezx_+2vHng@mail.gmail.com>
References: <20240512232923.aa.nmisch@google.com>
	<20240605181706.fe.nmisch@google.com>
	<CA+TgmobfMU5pdXP36D5iAwxV5WKE_vuDLtp_1QyH+H5jMMt21g@mail.gmail.com>
	<ZmJENQ1BiMoStBPD@paquier.xyz>
	<CA+TgmoZ_Qezv0+AXN4s=OumQwvo9cf+1e+BA=y42WKth+QQK+A@mail.gmail.com>
	<20240611021927.30.nmisch@google.com>
	<ZmfUgRBbyLIGoHyM@paquier.xyz>
	<CANtu0ohuv2t02FcxrWxLbLJ_RosWuShsCdhy0PUJ_bTd_9MWrw@mail.gmail.com>
	<20240612194857.1c.nmisch@google.com>
	<CANtu0ogYLrufbSWOLDjfcDNCU=R6i2SJCEG_Uejtezx_+2vHng@mail.gmail.com>

On Wed, Jun 12, 2024 at 10:02:00PM +0200, Michail Nikolaev wrote:
> > Can you say more about the connection you see between $SUBJECT and that?
> That
> > looks like a valid report of an important bug, but I'm not following the
> > potential relationship to $SUBJECT.
> 
> I was guided by the following logic:
> * A pg_class race condition can cause table indexes to look stale.
> * REINDEX updates indexes
> * errors can be explained by different backends using different arbiter
> indexes

Got it.  The race condition of $SUBJECT involves inplace updates, and the
wrong content becomes permanent.  Hence, I suspect they're unrelated.





view thread (86+ messages)  latest in thread

Message-ID: <20240613202223.11.nmisch@google.com>
Permalink:  ../20240613202223.11.nmisch@google.com/
Also on:    postgresql.org/message-id/20240613202223.11.nmisch@google.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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: noah@leadboat.com, michail.nikolaev@gmail.com, michael@paquier.xyz, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, smallkeen@gmail.com
  Subject: Re: race condition in pg_class
  In-Reply-To: <20240613202223.11.nmisch@google.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