redis-rb
redis-rb copied to clipboard
Fix the watch command bugs for the cluster client
- The redis-cluster-client gem had had several bugs regarding the transaction feature. They has been resolved with the version
0.7.11
.- https://github.com/redis-rb/redis-cluster-client/issues/299
- The above release makes a portion of our test cases failure. So this pull request fixes them.
- In the cluster client, a block is needed for the watch command because of the guarantee for a critical section with an optimistic locking. This behavior is different from the standalone client. So the cluster client overrides the watch method.