mirror of
https://github.com/pingcap/tla-plus.git
synced 2024-12-27 04:50:15 +08:00
27235f0b2f
* concurrent percolator: impl. |
||
---|---|---|
.. | ||
Concurrent | ||
Percolator.toolbox | ||
.gitignore | ||
Percolator.cfg | ||
Percolator.tla | ||
README.md |
TLA+ for Percolator
This directory contains the TLA+ specification of Percolator, the transaction protocol of TiKV.
How to run in TLA+ toolbox?
- Install TLA+ toolbox.
- Install TLAPS.
- Import the TLA+ toolbox configuration.
Note TLAPS is optional. You can remove all TLAPS proof, it does not affect the model.
How to run in command line?
- Download tla2tools.jar.
- Install TLAPS.
- Execute
java -cp ./tla2tools.jar tlc2.TLC -deadlock -workers 4 Percolator
.-worker 4
sets the number of worker threads, which should equal to the number of cores on machine.