belliottsmith commented on code in PR #4434:
URL: https://github.com/apache/cassandra/pull/4434#discussion_r2457532008
##########
src/java/org/apache/cassandra/service/paxos/cleanup/PaxosCleanupLocalCoordinator.java:
##########
@@ -69,6 +84,7 @@ public class PaxosCleanupLocalCoordinator extends
AsyncFuture<PaxosCleanupRespon
private final boolean autoRepair;
private final Map<DecoratedKey, AbstractPaxosRepair> inflight = new
ConcurrentHashMap<>();
+ private final Queue<DelayedRepair> delayed = new LinkedBlockingQueue<>();
Review Comment:
You're right, totally fine with swapping it for `ArrayDeque` instead (or
even `LinkedList`). Was just trying to downgrade `LinkedBlockingQueue`, as
probably too heavy weight.
--
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]