pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 张舒燕 <51184501183@stu.ecnu.edu.cn>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Subject: Re: Write skew anmalies are found in SERIALIZABLE isolation
Date: Fri, 4 Oct 2019 09:36:41 +0800
Message-ID: <tencent_23282A58707254AC62CACD2C@qq.com> (raw)
In-Reply-To: <CAH2-Wzn64_qtaiDY4iCLGx5JtUGf13KSgxAecWVFJdNq5=6vpg@mail.gmail.com>
References: <tencent_24A036EA059BFBC667810DBE@qq.com>
	<CAH2-Wzn64_qtaiDY4iCLGx5JtUGf13KSgxAecWVFJdNq5=6vpg@mail.gmail.com>

We have tested versions of 9.4.0, 9.6.0, 10.0, 11.0 and 11.5 and found the Bug on all of them.


We have wrong statements in the last email.
"If each transaction only read one item with secondary index and write another item with primary index, write skew anomalies are more ( -> less) likely to occur."
"At last, we run the same join SQL, and more ( -> less) anomalies can be found. The corresponding test program is Test2.java."
There are less anomalies can be found in the second situation using Test2.java.


And some mistakes in our test programs have been fixed.


Best regards ,
Shuyan Zhang, ECNU


 
------------------ Original ------------------
From:  "Peter Geoghegan"<pg@bowt.ie>;
Date:  Fri, Oct 4, 2019 05:05 AM
To:  "张舒燕"<51184501183@stu.ecnu.edu.cn>; 
Cc:  "pgsql-bugs"<pgsql-bugs@lists.postgresql.org>; 
Subject:  Re: Write skew anmalies are found in SERIALIZABLE isolation

 

On Thu, Oct 3, 2019 at 9:18 AM 张舒燕 <51184501183@stu.ecnu.edu.cn> wrote:
> When we set the isolation level to SERIALIZABLE, we observed some wirte skew anmalies.

What version of PostgreSQL did you test? Does this bug affect all versions?

-- 
Peter Geoghegan

Attachments:

  Test1.java (application/octet-stream, 3.5K) download

  Test2.java (application/octet-stream, 3.7K) download

view thread (4+ messages)  latest in thread

Message-ID: <tencent_23282A58707254AC62CACD2C@qq.com>
Permalink:  ../tencent_23282A58707254AC62CACD2C@qq.com/
Also on:    postgresql.org/message-id/tencent_23282A58707254AC62CACD2C@qq.com

 · 

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: 51184501183@stu.ecnu.edu.cn, pg@bowt.ie
  Subject: Re: Write skew anmalies are found in SERIALIZABLE isolation
  In-Reply-To: <tencent_23282A58707254AC62CACD2C@qq.com>
  References: <tencent_24A036EA059BFBC667810DBE@qq.com> <CAH2-Wzn64_qtaiDY4iCLGx5JtUGf13KSgxAecWVFJdNq5=6vpg@mail.gmail.com> <tencent_23282A58707254AC62CACD2C@qq.com>

* 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