kevy4.0

EXEC

Execute every command queued since MULTI.

EXEC
Group
Transactions
Since
1.0.0
Arity
exactly 1
Flags
readonly transaction

Complexity

O(sum of the queued commands' costs); with W watched keys, one extra O(W) pre-check fanned into O(min(W,S)) messages

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

a MULTI batch spanning several shards is per-shard-atomic, not globally isolated (there is no cross-shard snapshot); a queue-time error aborts the whole batch with EXECABORT, but a runtime error inside EXEC leaves the other commands applied, as in Redis

See also

DISCARDMULTIUNWATCHWATCH

← All commands