lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-11034) Redundent/Unneccessary SolrCore reload when ManagedIndexSchema changes are made in cloud mode
Date Sat, 08 Jul 2017 01:38:00 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message