[ 
https://issues.apache.org/jira/browse/SOLR-7035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomás Fernández Löbbe updated SOLR-7035:
----------------------------------------
    Attachment: SOLR-7035-fail.patch

In this patch, there is a test that fails if the first searcher is made slow 
and its called twice.

> Core reload calls firstSearcher listeners twice in some situations
> ------------------------------------------------------------------
>
>                 Key: SOLR-7035
>                 URL: https://issues.apache.org/jira/browse/SOLR-7035
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0, Trunk
>            Reporter: Tomás Fernández Löbbe
>         Attachments: SOLR-7035-fail.patch
>
>
> {{core.reload()}} creates two searchers, one when creating the new core and 
> one after creating the new IW. For each of those searchers it calls the 
> registered listeners, however, depending on how long the first searcher takes 
> to warm it may call the “firstSearcher” events twice.
> Probably the best solution would be to not even create the first of the 
> searchers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to