[
https://issues.apache.org/jira/browse/SOLR-3594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406601#comment-13406601
]
Egor Pahomov commented on SOLR-3594:
------------------------------------
Is there any reason why we shouldn't? Constructor of SolrCore guarantees us to
return correct Core. I can't say about core, which still trying to register
something and fails my "without commits" tests, that it's correct.
> 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
> Labels: test
> Attachments: 3594.patch, testSearchersManagement.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]