You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/10/27 19:23:00 UTC

[jira] [Updated] (SOLR-15861) ConcurrentUpdateSolrClient should work with ManagedExecutorService

     [ https://issues.apache.org/jira/browse/SOLR-15861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden updated SOLR-15861:
--------------------------------
    Status: Patch Available  (was: Open)

> ConcurrentUpdateSolrClient should work with ManagedExecutorService
> ------------------------------------------------------------------
>
>                 Key: SOLR-15861
>                 URL: https://issues.apache.org/jira/browse/SOLR-15861
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>    Affects Versions: 8.11.1
>            Reporter: Sammy Chu
>            Priority: Major
>          Time Spent: 10m
>  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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org