quux00 opened a new pull request, #12756:
URL: https://github.com/apache/lucene/pull/12756

   ### Description
   
   Since TaskExecutor now waits for all concurrent tasks to finish, even if one 
throws an Exception and when an exception is thrown, any remaining unscheduled 
tasks are cancelled, the next step is to notify currently running tasks to exit 
early. This is done via a a new QueryTimeout implementation, 
ExceptionBasedQueryTimeout, which holds a volatile boolean of whether any other 
sibling task threw an exception. If the boolean is true, then the shouldExit 
method returns true, so that the in progress task exits early.
   
   Closes #12278
   


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to