Closed yito88 closed 3 years ago
Huh, I'm not sure I understand your question! Elle does look at :ok
, :info
, and :fail
operations. It has to do this in order to draw meaningful inferences about potential anomalies. If you asked it not to consider some of these operations, it would appear to Elle as if values suddenly appeared from thin air, and I suspect that's going to make Elle very confused.
It looks like your history contains aborted reads (G1a), and if that's the case, all bets are off: you can't really trust anything the database tells you. You could tell Elle you don't care about catching aborted reads, I suppose, by providing :consistency-models []
to the checker, but then it won't check, well, anything. You could ask for it to look for... maybe just :G0
anomalies? Is that the only thing you care about? You've said you're trying to test for serializability, which makes me think that you definitely don't want to ignore these anomalies: they're serious serializability violations!
Thank you so much for your comment, and sorry for the late reply. I misunderstood the result and found a bug in my test. After the bug was fixed, it worked well as expected.
I'm working on a test with Elle to verify serializable transactions. I have a question about checking anomalies.
Does Elle check the anomalies with
:fail
results? I tried Elle via Jepsen (jepsen.tests.cycle.append/test
), but I had anomalies for:fail
results. I'd like to ignore these:fail
results for checking anomalies.