We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a2fbb commit c17b6afCopy full SHA for c17b6af
src/main/java/redis/clients/jedis/mcf/CircuitBreakerCommandExecutor.java
@@ -75,7 +75,8 @@ private boolean shouldRetryFailedInflightCommands() {
75
}
76
77
private boolean isActiveCluster(Cluster cluster) {
78
- return provider.getCluster() != cluster;
+ Cluster activeCluster = provider.getCluster();
79
+ return activeCluster != null && !activeCluster.equals(cluster);
80
81
82
/**
0 commit comments