website/docs/commands/transactions.md
Details and examples about how RESP Transactions are implemented in Garnet are found at the Developer Guide
DISCARD
Flushes all previously queued commands in a transaction and restores the connection state to normal.
Simple string reply: OK.
EXEC
Executes all previously queued commands in a transaction and restores the connection state to normal.
One of the following:
MULTI
Marks the start of a transaction block. Subsequent commands will be queued for atomic execution using EXEC.
Simple string reply: OK.
UNWATCH
Flushes all the previously watched keys for a transaction.
Simple string reply: OK.
WATCH key [key ...]
Marks the given keys to be watched for conditional execution of a transaction.
Simple string reply: OK.