Closed dawnbreaks closed 9 years ago
I kind of cheated the implementation of transaction. It's more like a batch of commands. The rediscala watch command is kind of useless in 99% of case (because all the transaction commands are sent in one batch). The best way would be to add a blocking transaction, however the transaction is "deprecated" for redis server, so I did not care much. Lua script is the way to go.
Ok, i got it. Thanks very much!
Th following Transaction will never commit, promises deadlock! That 's absolutely not acceptable.
Th following Transaction should not commit since watched keys has been changed. But it commit normally. That 's absolutely not acceptable.
Hope that Transaction should be fully supported. I think Transaction should be implemented just like implemention of the blocking commands on the Lists.
Thanks & Best Regards!