pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: StandbyAcquireAccessExclusiveLock doesn't necessarily
Date: Tue, 11 Sep 2018 12:26:44 -0400
Message-ID: <4997.1536683204@sss.pgh.pa.us> (raw)
In-Reply-To: <20180911162037.7nbfsr5gaaaramjg@alap3.anarazel.de>
References: <6202.1536359835@sss.pgh.pa.us>
	<CA+TgmoasJ8xBt2F2QXRaf1q8+9auXFi2QT_fWMrWpCX837mkxw@mail.gmail.com>
	<CANP8+jLttaWVs+Dn+inyrqB4attSKaywavFEkOCO5eQN91DT8A@mail.gmail.com>
	<22379.1536675935@sss.pgh.pa.us>
	<CA+Tgmobu67L=9Y9NwxCLy5CzZUrBJ_UO1SOU_eiGf=N-+9heRQ@mail.gmail.com>
	<CANP8+jL8qfE+dnGuC6ySBX_cqoHy3TBJ=O6dOFX9dQCA5N_jTA@mail.gmail.com>
	<20180911152929.7xo4qgb3eyz6djfu@alap3.anarazel.de>
	<28427.1536681824@sss.pgh.pa.us>
	<20180911161232.d6ajdhkbss7vdeky@alap3.anarazel.de>
	<29306.1536682739@sss.pgh.pa.us>
	<20180911162037.7nbfsr5gaaaramjg@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2018-09-11 12:18:59 -0400, Tom Lane wrote:
>> Doesn't matter: startup would hit a lock conflict and cancel the pg_dump
>> to get out of it, long before approaching locktable full.

> Only if all that's happening in the same database, which is far from a
> given.

Well, there remains the fact that we've seen no field reports that seem
to trace to failure-to-acquire-AEL since 9.6 came out.  So arguing that
this *could* be a probable scenario fails to comport with the available
evidence.

My inclination is to fix it as I've suggested and wait to see if there
are field complaints before expending a whole lot of effort to create
a better solution.  In any case, I am not willing to create that better
solution myself, and neither is Robert; are you?

			regards, tom lane




view thread (19+ messages)  latest in thread

Message-ID: <4997.1536683204@sss.pgh.pa.us>
Permalink:  ../4997.1536683204@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4997.1536683204@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, simon@2ndquadrant.com, robertmhaas@gmail.com, jeff.janes@gmail.com
  Subject: Re: StandbyAcquireAccessExclusiveLock doesn't necessarily
  In-Reply-To: <4997.1536683204@sss.pgh.pa.us>
  References: <6202.1536359835@sss.pgh.pa.us> <CA+TgmoasJ8xBt2F2QXRaf1q8+9auXFi2QT_fWMrWpCX837mkxw@mail.gmail.com> <CANP8+jLttaWVs+Dn+inyrqB4attSKaywavFEkOCO5eQN91DT8A@mail.gmail.com> <22379.1536675935@sss.pgh.pa.us> <CA+Tgmobu67L=9Y9NwxCLy5CzZUrBJ_UO1SOU_eiGf=N-+9heRQ@mail.gmail.com> <CANP8+jL8qfE+dnGuC6ySBX_cqoHy3TBJ=O6dOFX9dQCA5N_jTA@mail.gmail.com> <20180911152929.7xo4qgb3eyz6djfu@alap3.anarazel.de> <28427.1536681824@sss.pgh.pa.us> <20180911161232.d6ajdhkbss7vdeky@alap3.anarazel.de> <29306.1536682739@sss.pgh.pa.us> <20180911162037.7nbfsr5gaaaramjg@alap3.anarazel.de> <4997.1536683204@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