-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
txn-rw-register workload does not detect g0 write cycles under read-uncommitted consistency #56
Comments
Right, so I think this is a shortcoming in Elle's rw-register checker, which does pretty much all its inference through external reads and writes--IIRC, my rationale was that internal anomalies would be glaringly obvious, and it offers a pretty major speedup--a lot of problems gain an extra level of iteration if you consider internal reads/writes. I took a stab at changing that, and after seven hours I have to admit--this is a bigger problem than I was hoping. Elle is... fantastically complex, and has a lot of moving parts. Gotta shelve this for now. |
Thank you @aphyr for your quick response and for all the work you have put into the Elle! This is an incredible project. And thank you for the Maelstrom. I had lots of pleasure playing with it. I will leave this thing open for future interesants. If you want just close it. |
I don't know yet what a g0 write cycle is but my read ( Is that the same issue as @sitano reported? |
Naw, that's more like a garbage read, which is also something the rw-register workload should detect, but doesn't, because I am lazy and my entire life has been consumed with moving and house repairs for the last six months :( |
I have now also reproduced the same with read-committed consistency. Random integers or
|
Maelstrom does not detect g0 (write-cycle) for me, like in the following history:
So
t2
observes the read value of 3 at operation index 5 (0-indexed), while it just previously wrote 2 and 3 on top of ww-conflict (10). It's a G0 and maelstrom ignored it.Here we have many cycles of tx 2 and tx3:
w2(1), w3(10), w2(2), w2(3)
. MS could alone detect the g0 based only on the received responses going from that (1) every written value is unique (2) all writes in those 2 txs covered with reads.The text was updated successfully, but these errors were encountered: