kevy4.0

WATCH

Watch keys for optimistic locking of the next EXEC.

WATCH key [key ...]
Group
Transactions
Since
1.0.0
Arity
at least 2
Flags
readonly transaction

Complexity

O(W) keys, grouped into O(min(W,S)) cross-shard messages

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

Redis compatibility

Compatible

Behaves as Redis does.

See also

DISCARDEXECMULTIUNWATCH

← All commands