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
When the client (spring-data-redis wrapper around Jedis) tries to update cluster topology by executing a cluster nodes command, the client is not able to parse the command output if such empty IP exists, and will throw the following exception, causing write outage:
org.springframework.data.redis.ClusterStateFailureException: Could not retrieve cluster information. CLUSTER NODES returned with error.
- 10.0.122.249:6379 failed: Hostname must not be empty or null.
- 10.0.182.73:6379 failed: Hostname must not be empty or null.
- 10.0.41.12:6379 failed: Hostname must not be empty or null.
- 10.0.163.103:6379 failed: Hostname must not be empty or null.
However, the cluster nodes output does contain the IP address of the new master, which is sufficient information for the client to continue write operation.
The ask here is to see if the client can ignore the empty IP address of the failed master.
mp911de
changed the title
Request to ignore empty IP address in cluster nodes output
Empty IP address in cluster nodes output causes Hostname must not be empty or null
Mar 3, 2021
Hi,
During a failover event,
cluster nodes
output can contain empty IP address such as the following (this is a known Redis behaviour):When the client (spring-data-redis wrapper around Jedis) tries to update cluster topology by executing a
cluster nodes
command, the client is not able to parse the command output if such empty IP exists, and will throw the following exception, causing write outage:However, the
cluster nodes
output does contain the IP address of the new master, which is sufficient information for the client to continue write operation.The ask here is to see if the client can ignore the empty IP address of the failed master.
References
The version being used:
Thank you
The text was updated successfully, but these errors were encountered: