You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Chris Darroch (JIRA)" <ji...@apache.org> on 2010/01/26 23:58:35 UTC

[jira] Created: (SOLR-1735) shut down TimeLimitedCollection timer thread on application unload

shut down TimeLimitedCollection timer thread on application unload
------------------------------------------------------------------

                 Key: SOLR-1735
                 URL: https://issues.apache.org/jira/browse/SOLR-1735
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 1.4, 1.3
            Reporter: Chris Darroch


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1735) shut down TimeLimitedCollection timer thread on application unload

Posted by "Chris Darroch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Darroch updated SOLR-1735:
--------------------------------

    Attachment: SOLR-1735-1_3.patch

> shut down TimeLimitedCollection timer thread on application unload
> ------------------------------------------------------------------
>
>                 Key: SOLR-1735
>                 URL: https://issues.apache.org/jira/browse/SOLR-1735
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3, 1.4
>            Reporter: Chris Darroch
>         Attachments: SOLR-1735-1_3.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.