-
Notifications
You must be signed in to change notification settings - Fork 2.3k
v2.31.1 v3.0 RedisClusterJedisProvider Can only get a redis cluster IP bug #2132
Comments
@ninyjun Not sure I understand the question here. Can you add more details with the expected behavior please? |
A redis(3.0+) cluster has multiple IP addresses RedisClusterJedisProvider.java public RedisClusterJedisProvider(HostSupplier hostSupplier, DynomiteConfiguration configuration) { |
conductor3.0 RedisClusterConfiguration.javaprotected JedisCommands createJedisCommands(RedisProperties properties, ConductorProperties conductorProperties,
|
@ninyjun Thank you for reporting this. Could you please open a PR with the fix? |
//fixed Can only get a redis cluster IP by ninyjun 462711932@qq.com 2021/03/17
Set hosts = new HashSet<>();
for(Host h : hostSupplier.getHosts()){
hosts.add(new HostAndPort(h.getHostName(), h.getPort()));
}
//end
The text was updated successfully, but these errors were encountered: