You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using Lettuce 5.0.0 and spring-data-redis(v2.1.3) in our application.
We are using a redis cluster and CLIENT/CONFIG commands on redis has been removed for security reasons.
Our application is running without any flows when those commands are present but fails to connect to redis without them.
Lettuce uses CLIENT LIST to determine the number of connected clients for load balancing. We could make this information optional. Lettuce uses the client count to determine a cluster node with the least number of clients to use that one as default node. The default node is used for Pub/Sub and key-less commands.
mp911de
changed the title
Lettuce won't conect when CLIENT command in redis is removed.
Do not require CLIENT LIST in cluster topology refresh
Jan 28, 2019
Topology refresh now no longer requires a successful completion of CLIENT LIST during the refresh. Errors can happen if the command is disabled.
Previously, an entire cluster node was disabled if the client list could not be retrieved and so the node was not considered in the routing table. Ignoring failed CLIENT LIST commands disables default connection load balancing that helped previously to use the cluster node with the least number of connections.
We are using Lettuce 5.0.0 and spring-data-redis(v2.1.3) in our application.
We are using a redis cluster and CLIENT/CONFIG commands on redis has been removed for security reasons.
Our application is running without any flows when those commands are present but fails to connect to redis without them.
Following error occurs:
Is there are any workaround to overcome this problem?
The text was updated successfully, but these errors were encountered: