mirror of
https://github.com/pingcap/tla-plus.git
synced 2024-12-27 04:50:15 +08:00
92ff853acf
Signed-off-by: andylokandy <andylokandy@hotmail.com> |
||
---|---|---|
.. | ||
DistributedTransaction.toolbox | ||
DistributedTransaction.pdf | ||
DistributedTransaction.tla | ||
DistributedTransactionProofs.tla | ||
README.md | ||
Test1.cfg | ||
Test1.tla | ||
Test2.cfg | ||
Test2.tla |
TLA+ for Distributed Transaction
The module contains a abstract specification of the transaction system implemented in TiKV. The implementation can be found in TiKV Transaction Module.
The module contains two TLA+ files: DistributedTransaction.tla
and DistributedTransactionProofs.tla
.
In most cases you will likely have an interest in only DistributedTransaction.tla
, where the specification and safety invariants are defined. Besides that, in DistributedTransactionProofs.tla
, there are some formal proofs, which are supposed to be build up gradually (so it's not completed yet), to the safety invariants.
To run the formal proofs in DistributedTransactionProofs.tla
, you'd like to install the TLAPS (TLA+ Proof System) first. It's not distributed altogether with the TLA toolbox.