You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan Josal (JIRA)" <ji...@apache.org> on 2015/06/26 19:09:04 UTC
[jira] [Created] (SOLR-7726) CodecFactory plugins are double
informed of SolrCore
Ryan Josal created SOLR-7726:
--------------------------------
Summary: CodecFactory plugins are double informed of SolrCore
Key: SOLR-7726
URL: https://issues.apache.org/jira/browse/SOLR-7726
Project: Solr
Issue Type: Bug
Affects Versions: 5.2.1, 5.0, 4.10
Reporter: Ryan Josal
Priority: Minor
During the SolrCore#initCodec initialization phase, it initializes the the CodecFactory by using ResourceLoader#newInstance, which will call inform(SolrCore), and then a few lines later it calls inform again. The SchemaCodecFactory, for example, does not break due to this because it has no effect to inform it multiple times. But any extensions or other CodecFactories may need to work around this by checking for a second inform call to prevent errors or just from running potentially complex init code twice.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org