pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Doug Roberts <h205881@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Postgres Crashing
Date: Mon, 03 Feb 2020 18:21:46 -0500
Message-ID: <823.1580772106@sss.pgh.pa.us> (raw)
In-Reply-To: <dec3d06b-af74-a254-a9a6-b5e53cb71de8@aklaver.com>
References: <CAOy4PLo9pZgL7KAOW0=XCY240hARaJT6cBU0Y5NH4dwyLNN4Yg@mail.gmail.com>
	<ca202134-2bc3-6413-b3e4-c563fa89fd05@aklaver.com>
	<CAOy4PLpTeYiUbyEt1p9zc5mB9c2h3M1o=c=kjJ_rPBuyLVXqbQ@mail.gmail.com>
	<dec3d06b-af74-a254-a9a6-b5e53cb71de8@aklaver.com>

Adrian Klaver <adrian.klaver@aklaver.com> writes:
> Please reply to list also.

> On 2/3/20 2:18 PM, Doug Roberts wrote:
>> Here is what the reset recirc function is doing.
>> ...
>>     UPDATE containers
>> ...

> So how did containers_reset_recirc() come to clash with 
> containers_add_update()?

If this is PG 12.0 or 12.1, a likely theory is that this is an
EvalPlanQual bug (which'd be triggered during concurrent updates
of the same row in the table, so that squares with the observation
that locking the table prevents it).  The known bugs in that area
require either before-row-update triggers on the table, or
child tables (either partitioning or traditional inheritance).
So I wonder what the schema of table "containers" looks like.

Or you could have hit some new bug ... but there's not enough
info here to diagnose.

			regards, tom lane





view thread (13+ messages)  latest in thread

Message-ID: <823.1580772106@sss.pgh.pa.us>
Permalink:  ../823.1580772106@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/823.1580772106@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, h205881@gmail.com
  Subject: Re: Postgres Crashing
  In-Reply-To: <823.1580772106@sss.pgh.pa.us>
  References: <CAOy4PLo9pZgL7KAOW0=XCY240hARaJT6cBU0Y5NH4dwyLNN4Yg@mail.gmail.com> <ca202134-2bc3-6413-b3e4-c563fa89fd05@aklaver.com> <CAOy4PLpTeYiUbyEt1p9zc5mB9c2h3M1o=c=kjJ_rPBuyLVXqbQ@mail.gmail.com> <dec3d06b-af74-a254-a9a6-b5e53cb71de8@aklaver.com> <823.1580772106@sss.pgh.pa.us>

* 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