mirror of
https://github.com/pingcap/tla-plus.git
synced 2024-12-26 12:30:10 +08:00
clean up
Signed-off-by: Neil Shen <overvenus@gmail.com>
This commit is contained in:
parent
6addaabd2e
commit
5fcc39c030
@ -109,19 +109,19 @@ Apply ==
|
||||
/\ UNCHANGED <<nextTS, resolvedQueue, outputTSQueue, reState, chanOffset>>
|
||||
|
||||
TxnEventsWithPessimistic ==
|
||||
\E r \in RM:
|
||||
\/ \E r \in RM:
|
||||
\/ PessimisticPrewrite(r)
|
||||
\/ Prewrite(r)
|
||||
\/ Commit(r)
|
||||
\/ Rollback(r)
|
||||
\/ Apply
|
||||
\/ Apply
|
||||
|
||||
TxnEvents ==
|
||||
\E r \in RM:
|
||||
\/ \E r \in RM:
|
||||
\/ Prewrite(r)
|
||||
\/ Commit(r)
|
||||
\/ Rollback(r)
|
||||
\/ Apply
|
||||
\/ Apply
|
||||
|
||||
Min(s) ==
|
||||
IF s = {} THEN 0
|
||||
@ -201,11 +201,9 @@ RTNextWithPessimistic ==
|
||||
\/ FetchTS
|
||||
\/ HandleMsg
|
||||
|
||||
RTSpec == RTInit /\ [][RTNext]_vars /\ WF_resolvedQueue(HandleMsgFetchTS)
|
||||
RTSpec == RTInit /\ [][RTNext]_vars
|
||||
|
||||
RTSpecWithPessimistic ==
|
||||
/\ RTInit /\ [][RTNextWithPessimistic]_vars
|
||||
/\ WF_resolvedQueue(HandleMsgFetchTS)
|
||||
RTSpecWithPessimistic == RTInit /\ [][RTNextWithPessimistic]_vars
|
||||
|
||||
\* Even if there is no write, it can always output
|
||||
\* resolved ts solely by FetchTS.
|
||||
|
Loading…
Reference in New Issue
Block a user