Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15861

ConcurrentUpdateSolrClient should work with ManagedExecutorService

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 8.11.1
    • main (10.0), 9.2
    • SolrJ
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            krisden Kevin Risden
            sammychu Sammy Chu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m

                Slack

                  Issue deployment