lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe <>
Subject Re: SolrCloud - configuration management in ZooKeeper
Date Tue, 06 Nov 2012 11:20:07 GMT
Hi Alexey, responses are inline:

Zookeeper manages not only the cluster state, but also the common
> configuration files.
> My question is, what are the exact rules of precedence? That is, when SOLR
> node will decide to download new configuration files?
When the SolrCore is started.

> Will configuration files be updated from ZooKeeper every time the core is
> refreshed?

Yes, every time the SolrCore is reloaded. If you need to force this, you
can either reload all the cores or reload the collection:

> What if bootstrapping is defined (bootstrap_configdir)? Will the
> node always try to upload?
if bootstrap_confdir is set, and the config name is always the same, every
time you start Solr it will upload the configuration files and override the
old ones in the same zk location.

> What are the best practices for production environment? Is it better to use
> external tool (ZkCLI) to trigger configuration changes?
I would at least not attach the bootstrap_confdir to a start script and
make it explicit. There are some Solr specific zk scripts that you can use.

I would use Solr's zk script for managing the configuration.


> Thanks
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message