pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyle Kingsbury <aphyr@jepsen.io>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: Potential G2-item cycles under serializable isolation
Date: Fri, 5 Jun 2020 13:00:18 -0400
Message-ID: <01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io> (raw)
In-Reply-To: <CAH2-WznURpoCuxHV28kBsNwi9TDM0zMkrA8JjTvymXaYfyCOkQ@mail.gmail.com>
References: <db7b729d-0226-d162-a126-8a8ab2dc4443@jepsen.io>
	<CAH2-WznDnzcv3meSoQQg0UimBoEohCDy6Leu3eh8e5i0ijcqig@mail.gmail.com>
	<b54952d0-8f10-2091-eb29-f825af3b5f37@jepsen.io>
	<CAH2-WznZO2kgJr+jR5mSp3bsSZKqbevztdPq-eZLcgGML_vBMw@mail.gmail.com>
	<80e772f7-a46d-7bfd-28d0-4017bf5cd2e5@jepsen.io>
	<CAH2-WznURpoCuxHV28kBsNwi9TDM0zMkrA8JjTvymXaYfyCOkQ@mail.gmail.com>

After staring at a few hundred of these anomalies, I'm more confident: this 
problem seems to involve a transaction which fails to observe a logically prior 
transaction's *insert*. So far we never see a cycle involving all updates rw 
deps--there's always 2+ rw deps, and at least one involves the initial state. 
Maybe this helps narrow down the search!

--Kyle






view thread (77+ messages)  latest in thread

Message-ID: <01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io>
Permalink:  ../01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io/
Also on:    postgresql.org/message-id/01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io

 · 

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-bugs@postgresql.org
  Cc: aphyr@jepsen.io
  Subject: Re: Potential G2-item cycles under serializable isolation
  In-Reply-To: <01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io>
  References: <db7b729d-0226-d162-a126-8a8ab2dc4443@jepsen.io> <CAH2-WznDnzcv3meSoQQg0UimBoEohCDy6Leu3eh8e5i0ijcqig@mail.gmail.com> <b54952d0-8f10-2091-eb29-f825af3b5f37@jepsen.io> <CAH2-WznZO2kgJr+jR5mSp3bsSZKqbevztdPq-eZLcgGML_vBMw@mail.gmail.com> <80e772f7-a46d-7bfd-28d0-4017bf5cd2e5@jepsen.io> <CAH2-WznURpoCuxHV28kBsNwi9TDM0zMkrA8JjTvymXaYfyCOkQ@mail.gmail.com> <01d04cfe-6eeb-543b-4a11-b1c42e904e42@jepsen.io>

* 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