Section: Transactions and optimistic locking

Start a transaction

bash
bash
MULTI

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Transactions and optimistic locking
Execute queued transaction
Run all queued commands atomically.
OpenIn sheetbashsame section
Abandon queued transaction
Clear queued transaction commands.
OpenIn sheetbashsame section
Watch keys for changes
Abort EXEC if watched keys change before commit.
OpenIn sheetbashsame section
Stop watching keys
Clear optimistic-lock watches.
OpenIn sheetbashsame section
Optimistic transfer transaction
Common check-and-set transaction workflow.
OpenIn sheetbashsame section
Publish a message
Send a message to all subscribers of a channel.
OpenIn sheetbash1 tag match