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

ASF subversion and git services commented on SOLR-15861:
--------------------------------------------------------

Commit 060fa2e7241f664a088901bd71020b848f638461 in solr's branch 
refs/heads/branch_9x from Sammy Chu
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=060fa2e7241 ]

SOLR-15861: ConcurrentUpdateSolrClient should work with ManagedExecutorService 
(#464)

Co-authored-by: Kevin Risden <[email protected]>

> ConcurrentUpdateSolrClient should work with ManagedExecutorService
> ------------------------------------------------------------------
>
>                 Key: SOLR-15861
>                 URL: https://issues.apache.org/jira/browse/SOLR-15861
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ
>    Affects Versions: 8.11.1
>            Reporter: Sammy Chu
>            Assignee: Kevin Risden
>            Priority: Minor
>             Fix For: main (10.0)
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> ConcurrentUpdateSolrClient (and ConcurrentUpdateHttp2SolrClient) should work 
> with JSR-236 {{javax.enterprise.concurrent.ManagedExecutorService}}. 
> Currently due to the code calling the 
> {{java.util.concurrent.ExecutorService}} lifecycle methods (e.g. 
> isShutdown(), isTerminated()) which produce exception 
> {{java.lang.IllegalStateException: Lifecycle operation not supported}}.
> Suggest to wrap with try-catch block when calling those lifecycle methods.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to