maedhroz commented on code in PR #3539:
URL: https://github.com/apache/cassandra/pull/3539#discussion_r1755527273


##########
src/java/org/apache/cassandra/service/StorageService.java:
##########
@@ -305,6 +306,35 @@ private static int getSchemaDelay()
 
     public static final StorageService instance = new StorageService();
 
+    private final java.util.function.Predicate<Keyspace> 
anyOutOfRangeOpsRecorded
+            = keyspace -> keyspace.metric.outOfRangeTokenReads.getCount() > 0
+                          || keyspace.metric.outOfRangeTokenWrites.getCount() 
> 0
+                          || 
keyspace.metric.outOfRangeTokenPaxosRequests.getCount() > 0;

Review Comment:
   TODO: rearrange `||`s



-- 
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]

Reply via email to