redis-rb-cluster icon indicating copy to clipboard operation
redis-rb-cluster copied to clipboard

ASK handling

Open prepor opened this issue 10 years ago • 1 comments

Hello.

I don't understand ASK redirect handling, maybe there is error?

https://github.com/antirez/redis-rb-cluster/blob/master/cluster.rb#L239

How this code ensures that asking command and redirected command goes to the right instance (from catched ASK error)?

prepor avatar Jul 14 '15 09:07 prepor

r should be a Redis instance from redis-rb, and it looks there is no "asking" method in that class, so, it looks like an error to me too. Maybe @antirez could clarify what his intent was there? Then we could try to fix it, if it's actually an error.

danmaz74 avatar Sep 12 '15 22:09 danmaz74