You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Sammy Chu (Jira)" <ji...@apache.org> on 2021/12/21 03:35:00 UTC
[jira] [Created] (SOLR-15861) ConcurrentUpdateSolrClient should work with ManagedExecutorService
Sammy Chu created SOLR-15861:
--------------------------------
Summary: ConcurrentUpdateSolrClient should work with ManagedExecutorService
Key: SOLR-15861
URL: https://issues.apache.org/jira/browse/SOLR-15861
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrJ
Affects Versions: 8.11.1
Reporter: Sammy Chu
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.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org