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:
https://issues.apache.org/jira/browse/SOLR-3488

> 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.
See
http://wiki.apache.org/solr/SolrCloud#Getting_your_Configuration_Files_into_ZooKeeper

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

Tomás

>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SolrCloud-configuration-management-in-ZooKeeper-tp4018432.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to