tla-plus/DistributedTransaction/README.md
2020-04-08 03:03:43 +08:00

938 B

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.