One EXEC boundary contains ordered replies OK, WRONGTYPE, OK. Both successful writes remain, and other clients do not interleave during execution.

Redis transactions isolate execution without rollback

A Redis transaction is a connection-scoped command queue followed by an isolated execution window. MULTI starts the queue; EXEC runs accepted commands in order. The useful guarantee is that another client’s commands cannot run between those operations. It is not a promise to undo successful writes when a later command fails. ...

March 31, 2027 · 6 min · XB Field Notes