Re: Write skew anmalies are found in SERIALIZABLE isolation

From: 张舒燕 <51184501183(at)stu(dot)ecnu(dot)edu(dot)cn>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Write skew anmalies are found in SERIALIZABLE isolation
Date: 2019-10-04 01:36:41
Message-ID: tencent_23282A58707254AC62CACD2C@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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(at)bowt(dot)ie>;
Date: Fri, Oct 4, 2019 05:05 AM
To: "张舒燕"<51184501183(at)stu(dot)ecnu(dot)edu(dot)cn>;
Cc: "pgsql-bugs"<pgsql-bugs(at)lists(dot)postgresql(dot)org>;
Subject: Re: Write skew anmalies are found in SERIALIZABLE isolation

On Thu, Oct 3, 2019 at 9:18 AM 张舒燕 <51184501183(at)stu(dot)ecnu(dot)edu(dot)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

Attachment Content-Type Size
Test1.java application/octet-stream 3.5 KB
Test2.java application/octet-stream 3.7 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Антон Власов 2019-10-04 01:45:53 Re: BUG #16036: Segmentation fault while doing an update
Previous Message Антон Власов 2019-10-04 01:26:25 Re: BUG #16036: Segmentation fault while doing an update