Cluster topology lookup replaces the self-node details with the host and port from the RedisURI #312

Closed
mp911de opened this Issue Jul 20, 2016 · 0 comments

Projects

None yet

1 participant

@mp911de
Owner
mp911de commented Jul 20, 2016

Lettuce changes topology details during the CLUSTER NODES lookup. The self-node host and port are replaced with the values from the RedisURI.

This behavior leads (combined with the cluster node membership verification, that is enabled by default) to execution rejection when using Azure Redis Cache.

Azure Redis Cache exposes a load-balancer as main connection point that connects a random master node. The topology detail from CLUSTER NODES contains just the plain IP/port table. If a MOVED redirection happens to occur, the MOVED details contain a host and port that is not known by lettuce (because the host and port were replaced in the topology discovery) and command execution fails.

@mp911de mp911de added the bug label Jul 20, 2016
@mp911de mp911de added this to the Lettuce 4.2.2 milestone Jul 20, 2016
@mp911de mp911de closed this Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment