[ 
https://issues.apache.org/jira/browse/LUCENE-8989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943135#comment-16943135
 ] 

Michael McCandless commented on LUCENE-8989:
--------------------------------------------

{quote}Suppose the executor has been shut down and is rejecting all requests 
for new work. In that case an Exception here would help the caller to 
understand they are doing something unusual instead of burying the error case 
and attempting to handle it.
{quote}
Hmm, that is a good point – maybe we should not handle this exception and let 
it throw?

> IndexSearcher Should Handle Rejection of Concurrent Task
> --------------------------------------------------------
>
>                 Key: LUCENE-8989
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8989
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> As discussed in [https://github.com/apache/lucene-solr/pull/815,] 
> IndexSearcher should handle the case when the executor rejects the execution 
> of a task (unavailability of threads?).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to