Egor Pahomov created SOLR-3594:
----------------------------------

             Summary: SolrCore() doesn't wait SolrCore.getSearcher() to 
register _searcher
                 Key: SOLR-3594
                 URL: https://issues.apache.org/jira/browse/SOLR-3594
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 3.4
            Reporter: Egor Pahomov
            Priority: Minor


SolrCore() executes SolrCore.getSearcher(...) and returns without checking if 
getSearcher(...) already registered _searcher. As result: if we have 
SolrEventListener with slow newSearcher(), we can end test before _searcher 
registered and get then searcher closes and searcher opens doesn't match. 

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to