Skip to content

Commit

Permalink
Fixed - Unresolved Redis node hostname in cluster mode affects cluste…
Browse files Browse the repository at this point in the history
…r topology scan #5754
  • Loading branch information
Nikita Koksharov committed Apr 9, 2024
1 parent f88a10e commit 539e681
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,14 @@ private CompletableFuture<Collection<ClusterPartition>> parsePartitions(List<Clu
masterPartition.setMasterFail(true);
}
}
}).exceptionally(ex -> {
if (clusterNodeInfo.containsFlag(Flag.FAIL)
|| clusterNodeInfo.containsFlag(Flag.EVENTUAL_FAIL)) {
return null;
}

log.error(ex.getMessage(), ex);
return null;
});
futures.add(f);
}
Expand Down

0 comments on commit 539e681

Please sign in to comment.