You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Andrea Gazzarini <gx...@gmail.com> on 2014/01/22 13:30:50 UTC
Replication and conf files
Hi all,
Reading here
http://wiki.apache.org/solr/SolrReplication#How_are_configuration_files_replicated.3F
I don't understand what is the observed behaviour in case
- confFiles contains schema.xml
- schema doesn't change between replication cycles
I mean, I read that the file is physically replaced on slaves only if the
checksum doesn't match but what about the COMMIT or RELOAD command? I would
expect a RELOAD on slaves only if schema is in confFiles AND it effectively
changes; instead It seems a RELOAD is always issued regardless changes...is
that the expected behaviour?
"If a replication involved downloading of at least one conf file a core
reload is issued instead of a 'commit' command."
That would mean that just declaring the schema.xml in confFiles (i.e.
downloading the schema from master to slaves) will trigger a RELOAD. Are
things working in this way? And if so, what is the reason behind that
behaviour?
P.S: I'm using SOLR 3.6.1, with 1 master and two slaves
Best,
Andrea