keith-turner commented on issue #2272:
URL: https://github.com/apache/accumulo/issues/2272#issuecomment-922119524


   Not sure how well this work work, was thinking of possibly doing the 
following to make the thread pool more dynamic.
     * Modify TransactionRunner.run() removing the outer `while 
(keepRunning.get())` loop.  So that when it runs, it only runs a single repo.
     * Create the ThreadPool with a Queue that supplies an endless number of 
transactionrunners.  So when a thread in the pool becomes idle and request a 
the next thing from the queue, it always returns a new transactionrunner 
object. This should respond more nicely to the number of threads changing.


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