However, can you show an example of how to send a CLUSTER NODES OR CLUSTER SLOTS command when I get a MOVED 15160 192.168.121.168:6379 from a redis cluster?
An alternative is to just refresh the whole client-side cluster layout using the CLUSTER NODES or CLUSTER SLOTS commands when a MOVED redirection is received.
Hi,
Thanks for this beautiful library.
However, can you show an example of how to send a CLUSTER NODES OR CLUSTER SLOTS command when I get a
MOVED 15160 192.168.121.168:6379
from a redis cluster?Taken from http://redis.io/topics/cluster-spec#moved-redirection