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

shut down TimeLimitedCollection timer thread on application unload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3, 1.4
    • 3.5, 4.0-ALPHA
    • None
    • None

    Description

      As described in https://issues.apache.org/jira/browse/LUCENE-2237, shutting down the timer thread created by Lucene's TimeLimitedCollector allows Tomcat or another application server to cleanly unload solr.war (or any application using Lucene, for that matter).

      I'm attaching two patches for Solr 1.3 which use the patch provided in LUCENE-2237 to shut down the timer thread when a new servlet context listener for the solr.war application is informed the application is about to be unloaded.

      Attachments

        1. SOLR-1735-1_3.patch
          1 kB
          Chris Darroch

        Issue Links

          Activity

            People

              simonw Simon Willnauer
              cdarroch Chris Darroch
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: