-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Redis Cluster MOVED exception #179
Comments
Finally, someone else reporting the same issue :-). I never got around to properly investigate this, but now, with Redis 3.0 imminent, a fix would be most welcome! Peter Myklebust |
Can you show the Custer slots or cluster nodes output so I can try to repro
|
Sure, do you need to know the current set of keys on each node too?
|
I cloned the latest unstable branch of redis and doesn't seem to happening anymore, and I also resetup my cluster using the create-cluster scripts. |
Haha @mgravell you've actually already explained the problem I was running into on your blog! http://blog.marcgravell.com/2014/02/playing-with-redis-cluster-for-non.html
$ ./redis-trib.rb create --replicas 1 192.168.0.15:7000 192.168.0.15:7001 192.168.0.15:7002 192.168.0.15:7003 192.168.0.15:7004 192.168.0.15:7005 |
If you use redis-cli you can use this command |
I have a 5 node cluster setup, I followed the Redis cluster tutorial here: http://redis.io/topics/cluster-tutorial
I have the following nodes:
10.53.10.193:7000 (master)
10.53.10.193:7001 (master)
10.53.10.193:7002 (master)
10.53.10.193:7003 (slave)
10.53.10.193:7004 (slave)
10.53.10.193:7005 (slave)
I get this exception for one of my keys, but not for the other.
These are the keys on the different nodes:
It doesn't have any trouble reading this key
But it has trouble with this key:
I think it might have something to do with this issue here:
#57
The text was updated successfully, but these errors were encountered: