smiklosovic commented on code in PR #86:
URL: https://github.com/apache/cassandra-sidecar/pull/86#discussion_r2209954927
##########
server/src/main/java/org/apache/cassandra/sidecar/cluster/locator/CachedLocalTokenRanges.java:
##########
@@ -205,7 +205,9 @@ private synchronized Map<Integer, Set<TokenRange>>
getCacheOrReload(Metadata met
if (isClusterTheSame && localTokenRangesCache != null &&
localTokenRangesCache.containsKey(ks.getName()))
{
// we don't need to rebuild if already cached
- perKeyspaceBuilder.put(ks.getName(),
localTokenRangesCache.get(ks.getName()));
+ Map<Integer, Set<TokenRange>> value =
localTokenRangesCache.get(ks.getName());
Review Comment:
this was failing spotbugs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]