lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7035) Core reload calls firstSearcher listeners twice in some situations
Date Fri, 25 Aug 2017 19:09:00 GMT

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

Shawn Heisey commented on SOLR-7035:
------------------------------------

Just came across this issue while researching something.  The issue is older than I expected.

Could this problem cause something I noticed on Solr 6.6.0, documented in the following solr-user
thread?

http://lucene.472066.n3.nabble.com/Solr-6-6-is-trying-to-loading-some-not-all-cores-more-than-once-td4346085.html

> 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: 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.4.14#64029)

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


Mime
View raw message