So I have quite a few cores already where this exact (as far as replication
is concerned) solrconfig.xml works. The other cores all replicate correctly
including conf files. And every core imports perfectly fine. The issue I am
having is that the master doesn't seem to acknowledge anything except
replicateAfter commit. It doesn't show replicateAfter startup or optimize
and it doesn't list the config files I want to replicate either when
hitting the details url . Here is the block of replication xml from
solrconfig.xml. Additionally, I don't see any errors or exceptions in the
log and the index version is incrementing as expected when indexing. I have
also confirmed that the master/slave configs are set correctly. I want to
reiterate this is the same xml I am using on other cores without issue so I
am inclined to believe the problem might be somewhere else but I don't know
where to look. Let me know if anyone has any ideas or suggestions. Thanks
in advance. -Sean Siefert



<requestHandler name="/replication" class="solr.ReplicationHandler" >
    <lst name="master">
        <str name="enable">${enable.master:false}</str>
        <str name="replicateAfter">commit</str>
        <str name="replicateAfter">startup</str>
        <str name="replicateAfter">optimize</str>
        <str
name="confFiles">solrconfig.xml,schema.xml,data-config.xml</str>
    </lst>
    <lst name="slave">
        <str name="enable">${enable.slave:false}</str>
        <str name="masterUrl">http://master:port/solr/${solr.core.name
}</str>
        <str name="pollInterval">00:00:60</str>
    </lst>
</requestHandler>

Reply via email to