maedhroz commented on code in PR #1751:
URL: https://github.com/apache/cassandra/pull/1751#discussion_r931647535
##########
src/java/org/apache/cassandra/db/compaction/CompactionStrategyManager.java:
##########
@@ -610,6 +617,32 @@ public long[] getPerLevelSizeBytes()
}
}
+ public int[] getSSTableCountPerTWCSBucket()
+ {
+ readLock.lock();
+ try
+ {
+ List<Map<Long, Integer>> countsByBucket = Stream.concat(
+
StreamSupport.stream(repaired.allStrategies().spliterator(), false),
+
StreamSupport.stream(unrepaired.allStrategies().spliterator(), false))
Review Comment:
nit: Any way we can indent the concatenated streams here, so it's easier to
read onward to `filter`?
--
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]