[ 
https://issues.apache.org/jira/browse/SOLR-7035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132063#comment-18132063
 ] 

Nick Shanin commented on SOLR-7035:
-----------------------------------

>From code reading against apache/main b73f03976fa, on reload SolrCore calls 
>getSearcher a second time 
>(solr/core/src/java/org/apache/solr/core/SolrCore.java:786-787) before the 
>first searcher's registration task runs (SolrCore.java:2676-2700), so 
>firstSearcher listeners can fire twice. Is this still reproducible?

🤖 AI-generated 🤖

> 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, 6.0
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Priority: Major
>         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
(v10.3.26#10030026)

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

Reply via email to