spring-projects / spring-data-redis

Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-redis/
Apache License 2.0
1.77k stars 1.17k forks source link

When using IPv6 with a Redis cluster, executing the keys method will be unable to retrieve the node #3015

Closed silentmoooon closed 1 month ago

silentmoooon commented 1 month ago

image The clusterNodes returned by Jedis uses ip:port as the key, but the format of node.asString() is [ip]:port.

mp911de commented 1 month ago

That's fixed now. Please use the latest snapshots to verify whether the fix works for you.