You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try {
client.reloadPartitions();
partitions = clusterConnection.getPartitions();
log.info("A final reload of partitions after failover is completed");
} catch (Exceptione) {
log.error("Unable to reload partitions after failover is completed", e);
}
where client is RedisClusterClient and clusterConnection is StatefulRedisClusterConnection<byte[], byte[]>
Expected behavior/code
I would hope for partitions to be returned without NPE.
Environment
Lettuce version(s): 6.2.6.RELEASE
Redis version: 3.5.66
Possible Solution
I don't have any other than retrying.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
This doesn't look like a version 6.2.6 exception but rather as if there were many Lettuce versions on the class path. getMatchOrDefault is guarded against a null value when looking up the client count.
You are right... this seems more accurate with 6.1.10.RELEASE which we updated from.
My mvn dependency:tree is clearly indicated 6.2.6.RELEASE though...:
Bug Report
I found similar closed error reported here: #2243
Current Behavior
Stack trace
Input Code
Input Code
where client is RedisClusterClient and clusterConnection is StatefulRedisClusterConnection<byte[], byte[]>
Expected behavior/code
I would hope for partitions to be returned without NPE.
Environment
Possible Solution
I don't have any other than retrying.
Additional context
N/A
The text was updated successfully, but these errors were encountered: