tla-plus/Percolator
foreverbell 27235f0b2f concurrent percolator: implementation. (#15)
* concurrent percolator: impl.
2018-04-02 11:21:52 +08:00
..
Concurrent concurrent percolator: implementation. (#15) 2018-04-02 11:21:52 +08:00
Percolator.toolbox percolator: Added README and TLC models. (#8) 2018-02-06 17:51:28 +08:00
.gitignore percolator: Added README and TLC models. (#8) 2018-02-06 17:51:28 +08:00
Percolator.cfg percolator: Added README and TLC models. (#8) 2018-02-06 17:51:28 +08:00
Percolator.tla percolator: refactor variables key_* to emphasize the timestamp dimension. (#13) 2018-03-28 09:01:15 +08:00
README.md percolator: Added README and TLC models. (#8) 2018-02-06 17:51:28 +08:00

TLA+ for Percolator

This directory contains the TLA+ specification of Percolator, the transaction protocol of TiKV.

How to run in TLA+ toolbox?

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.