Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASK handling #4

Open
prepor opened this issue Jul 14, 2015 · 1 comment
Open

ASK handling #4

prepor opened this issue Jul 14, 2015 · 1 comment

Comments

@prepor
Copy link

prepor commented Jul 14, 2015

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)?

@danmaz74
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants