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 8e60c1b commit 034c910Copy full SHA for 034c910
src/main/java/redis/clients/jedis/JedisClusterInfoCache.java
@@ -454,6 +454,16 @@ public void reset() {
454
nodes.clear();
455
Arrays.fill(slots, null);
456
Arrays.fill(slotNodes, null);
457
+ if (clientSideCache != null) {
458
+ clientSideCache.flush();
459
+ }
460
+ if (clientConfig.isReadOnlyForRedisClusterReplicas() && replicaSlots != null) {
461
+ for (List<ConnectionPool> replicaList : replicaSlots) {
462
+ if (replicaList != null) {
463
+ replicaList.clear();
464
465
466
467
} finally {
468
w.unlock();
469
}
0 commit comments