lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gibney (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2873) StreamingUpdateSolrServer does not provide public access to shutdown ExecutorService scheduler
Date Thu, 03 Nov 2011 16:07:32 GMT
StreamingUpdateSolrServer does not provide public access to shutdown ExecutorService scheduler
----------------------------------------------------------------------------------------------

                 Key: SOLR-2873
                 URL: https://issues.apache.org/jira/browse/SOLR-2873
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 4.0
         Environment: N/A
            Reporter: Michael Gibney
            Priority: Minor
             Fix For: 4.0


Applications do not exit until the StreamingUpdateSolrServer ExecutorService threads have
died.  Currently, with no way to manually shut down the ExecutorService, an application that
has completed execution will hang for 60s waiting for the keepAlive time on the pooled runner
threads to expire.  This could be addressed by adding a single method to StreamingUpdateSolrServer:
{code:borderStyle=solid}
public void shutdown() {
    scheduler.shutdown();
}
{code} 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message