cshannon commented on issue #5130:
URL: https://github.com/apache/accumulo/issues/5130#issuecomment-2518079371

   One other idea I thought of is if we could configure the fate thread pool be 
to use a 
[PriorityBlockingQueue](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/PriorityBlockingQueue.html)
 and then write a comparator to bump the priority of certain fate operation 
types higher than others so they run first.
   
   This option may not work though because it is not going to be as good as 
having separate dedicated thread pools to run fate operations by type because 
if the thread pool is saturated and tied up with long running fate jobs then it 
still blocks jobs from running, but it at least would bump certain things to 
the front to run as soon as there are free threads.


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