-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a new "model-checker" to do tx consistency check
#31 A program which runs a series of concurrent workloads of reading and appending to lists on a set of random properties, in a number of concurrent transactions. It then logs them into an "EDN" format file that the `elle` tool from `jepsen` can read and check for transactional isolation inconsistencies. With this we are able to prove whether or not `moor` enforces strict serializable isolation. At least in this (for now) limited use case. Using this tool I was able to test the conflict-retry logic under load, as well as find some bugs in it. Testing shows that with the fjall-db backend and for this list-append workload, moor behaves correctly with `serializable` isolation, but does not conform to elle's definition of `strict-serializable`
- Loading branch information
Showing
13 changed files
with
1,143 additions
and
115 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.