pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rethink blocking annotations in detach-partition-concurrently-[3
Date: Mon, 05 Jul 2021 18:35:36 +0000
Message-ID: <E1m0TRQ-0006SA-Me@gemulon.postgresql.org> (raw)

Rethink blocking annotations in detach-partition-concurrently-[34].

In 741d7f104, I tried to make the reports from canceled steps come out
after the pg_cancel_backend() steps, since that was the most common
ordering before.  However, that doesn't ensure that a canceled step
doesn't report even later, as shown in a recent failure on buildfarm
member idiacanthus.  Rather than complicating things even more with
additional annotations, let's just force the cancel's effect to be
reported first.  It's not *that* unnatural-looking.

Back-patch to v14 where these test cases appeared.

Report: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=idiacanthus&dt=2021-07-02%2001%3A40%3A04

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9fa6fe466c9d2eaba4fdd8091203ee61e74d71bf

Modified Files
--------------
.../expected/detach-partition-concurrently-3.out   | 126 ++++++++++++---------
.../expected/detach-partition-concurrently-4.out   |  56 +++++----
.../specs/detach-partition-concurrently-3.spec     |  40 +++----
.../specs/detach-partition-concurrently-4.spec     |  38 +++----
4 files changed, 143 insertions(+), 117 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1m0TRQ-0006SA-Me@gemulon.postgresql.org>
Permalink:  ../E1m0TRQ-0006SA-Me@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1m0TRQ-0006SA-Me@gemulon.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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Rethink blocking annotations in detach-partition-concurrently-[3
  In-Reply-To: <E1m0TRQ-0006SA-Me@gemulon.postgresql.org>
  References: <E1m0TRQ-0006SA-Me@gemulon.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