Re:A NoSQL Database with ACID Transactions
by misframer on Monday March 04, 2013 @10:54AM
(#5318763)
Redis doesn't support transaction rollbacks, so they're not really "atomic."
[ Parent
| on HN ]
Re:A NoSQL Database with ACID Transactions
by giulianob on Monday March 04, 2013 @11:29AM
(#5318950)
They do have DISCARD so if you call MULTI and want to bail out you can say DISCARD. What they don't have is automatically rolling back if there's a failure while executing commands. However, failures in Redis are mainly going to happen if you issue a bad command (something you should catch during development). IIRC, if there's a power failure or something happens before the transaction finishes, Redis is able to discard the transaction during startup.