A bounded Redis Lua script combines reads and writes without interleaving, but not with automatic rollback.

Redis Lua scripts run without interleaving

A Redis Lua script can read data, make a decision, and update it without another client’s command interleaving between those steps. It does not mean every statement succeeds, that earlier writes are undone after an error, or that the result is automatically durable. ...

January 11, 2028 · 7 min · XB Field Notes