pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Avoid spurious deadlocks when upgrading a tuple lock"
Date: Mon, 17 Jun 2019 02:24:51 +0000
Message-ID: <E1hchKF-0000vt-Bk@gemulon.postgresql.org> (raw)

Revert "Avoid spurious deadlocks when upgrading a tuple lock"

This reverts commits 3da73d6839dc and de87a084c0a5.

This code has some tricky corner cases that I'm not sure are correct and
not properly tested anyway, so I'm reverting the whole thing for next
week's releases (reintroducing the deadlock bug that we set to fix).
I'll try again afterwards.

Discussion: https://postgr.es/m/E1hbXKQ-0003g1-0C@gemulon.postgresql.org

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/28dc2c25c579232dbba98a0ec62476b4091df96e

Modified Files
--------------
src/backend/access/heap/README.tuplock             |  10 --
src/backend/access/heap/heapam.c                   |  83 +++---------
.../expected/tuplelock-upgrade-no-deadlock.out     | 150 ---------------------
src/test/isolation/isolation_schedule              |   1 -
.../specs/tuplelock-upgrade-no-deadlock.spec       |  57 --------
5 files changed, 21 insertions(+), 280 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1hchKF-0000vt-Bk@gemulon.postgresql.org>
Permalink:  ../E1hchKF-0000vt-Bk@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hchKF-0000vt-Bk@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Revert "Avoid spurious deadlocks when upgrading a tuple lock"
  In-Reply-To: <E1hchKF-0000vt-Bk@gemulon.postgresql.org>
  References: <E1hchKF-0000vt-Bk@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