Feature - resolve hostnames used in Redis Cluster topology #3771

pull/3806/head
Nikita Koksharov 4 years ago
parent e43988e721
commit 7c3b27fb1c

@ -771,7 +771,7 @@ public class ClusterConnectionManager extends MasterSlaveConnectionManager {
}
private RFuture<Collection<ClusterPartition>> parsePartitions(List<ClusterNodeInfo> nodes) {
Map<String, ClusterPartition> partitions = new HashMap<>();
Map<String, ClusterPartition> partitions = new ConcurrentHashMap<>();
AsyncCountDownLatch latch = new AsyncCountDownLatch();
int counter = 0;
for (ClusterNodeInfo clusterNodeInfo : nodes) {

Loading…
Cancel
Save