#Redis Json Partial Transaction Issue

6 messages · Page 1 of 1 (latest)

latent seal
#

How can I make Redis to not do a partial transaction?
I would like [ null, 'OK' ] to not set any data at all.

#

What I am looking for is similar to DynamoDB transaction,
if a single set failed the rest would fail and not set any data.

How can I achieve this with Redis?

winged anchor
#

You'd want to use a script here instad.

#

Redis Transactions execute every command in the transaction (unless it encounters a syntax error).

latent seal
winged anchor
#

Yeah, they won’t be true transactions, but you can roll back manually if something goes wrong