dlmarion commented on code in PR #4042:
URL: https://github.com/apache/accumulo/pull/4042#discussion_r1420619992


##########
core/src/main/java/org/apache/accumulo/core/fate/Fate.java:
##########
@@ -68,25 +74,128 @@ public class Fate<T> {
   private static final EnumSet<TStatus> FINISHED_STATES = EnumSet.of(FAILED, 
SUCCESSFUL, UNKNOWN);
 
   private final AtomicBoolean keepRunning = new AtomicBoolean(true);
+  private final BlockingQueue<Long> workQueue;
+  private final SignalCount idleWorkerCount = new SignalCount();

Review Comment:
   Further in the code there is a TODO for when the config changes, this could 
be resolved with using the LinkedTransferQueue and manage the depth yourself.



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

Reply via email to