Hoss Man created SOLR-11034:
-------------------------------
Summary: Redundent/Unneccessary SolrCore reload when
ManagedIndexSchema changes are made in cloud mode
Key: SOLR-11034
URL: https://issues.apache.org/jira/browse/SOLR-11034
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Hoss Man
When using ManagedIndexSchema in cloud mode, there are 2 distinct code paths
that create "watchers" looking for changes to the managed-schema resouce file
in ZK...
* ZkIndexSchemaReader.createSchemaWatcher
** sets a watcher on the managed-schema file
** if this watcher fires, it creates a new ManagedIndexSchema and sets it on
the ManagedIndexSchemaFactory for future requests
* SolrCore.getConfListener + ZkController.registerConfListenerForCore
** sets a watcher on the configset dir
** if this watcher fires, it then checks the znode version for the
solrconfig.xml, configoverlay.json, and managed-schema -- if any are "stale" it
triggers a core reload
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]