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
If redis mock and the client are bound to different ip addresses then CLUSTER command will return incorrect response likely causing clients to fail later on.
In both slots (code) and nodes (code)state.getHost() is used which is eventually delegated to RedisClient.getAddress() which uses socket.getInetAddress() which will return the address the socket is connected to and not the local address.
This will make the client to receive its own address instead of the server address and fail connecting to the node address.
The text was updated successfully, but these errors were encountered:
If redis mock and the client are bound to different ip addresses then CLUSTER command will return incorrect response likely causing clients to fail later on.
In both
slots
(code) andnodes
(code)state.getHost()
is used which is eventually delegated toRedisClient.getAddress()
which usessocket.getInetAddress()
which will return the address the socket is connected to and not the local address.This will make the client to receive its own address instead of the server address and fail connecting to the node address.
The text was updated successfully, but these errors were encountered: