dcapwell commented on code in PR #2976:
URL: https://github.com/apache/cassandra/pull/2976#discussion_r1421064433
##########
src/java/org/apache/cassandra/db/compaction/PendingRepairManager.java:
##########
@@ -483,6 +483,14 @@ public Collection<AbstractCompactionTask>
createUserDefinedTasks(Collection<SSTa
return group.entrySet().stream().map(g ->
strategies.get(g.getKey()).getUserDefinedTask(g.getValue(),
gcBefore)).collect(Collectors.toList());
}
+ public boolean hasPendingRepairSSTable(TimeUUID sessionID, SSTableReader
sstable)
Review Comment:
added `@VisibleForTesting` and `synchronized`... so its now thread safe
(with add/remove sstable), but also document that its for tests
--
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]