Hi,
I am trying to configure Cross Data Center Replication using solr 6.0.
I am having issue configuring solrconfig.xml on both the target and source
side. I keep getting error
"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
Solr instance is not configured with the cdcr update log"
This is my config on the Source
<!-- Cross Data Center Replication Settings-->
<requestHandler name="/cdcr" class="solr.CdcrRequestHandler">
<lst name="buffer">
<str name="defaultState">disabled</str>
</lst>
</requestHandler>
<updateRequestProcessorChain name="cdcr-proc-chain">
<processor class="solr.CdcrUpdateProcessorFactory"/>
<processor class="solr.RunUpdateProcessorFactory"/>
</updateRequestProcessorChain>
<requestHandler name="/update" class="solr.UpdateRequestHandler">
<lst name="defaults">
<str name="update.chain">cdcr-proc-chain</str>
</lst>
</requestHandler>
<updateHandler class="solr.DirectUpdateHandler2">
<updateLog class="solr.CdcrUpdateLog">
<str name="dir">${solr.ulog.dir:}</str>
<int name="numRecordsToKeep">500</int>
<int name="maxNumLogsToKeep">20</int>
<int name="numVersionBuckets">65536</int>
</updateLog>
</updateHandler>
This is the config on the Target side:----
<!-- Cross Data Center Replication Settings-->
<requestHandler name="/cdcr" class="solr.CdcrRequestHandler">
<lst name="buffer">
<str name="defaultState">disabled</str>
</lst>
</requestHandler>
<updateRequestProcessorChain name="cdcr-proc-chain">
<processor class="solr.CdcrUpdateProcessorFactory"/>
<processor class="solr.RunUpdateProcessorFactory"/>
</updateRequestProcessorChain>
<requestHandler name="/update" class="solr.UpdateRequestHandler">
<lst name="defaults">
<str name="update.chain">cdcr-proc-chain</str>
</lst>
</requestHandler>
<updateHandler class="solr.DirectUpdateHandler2">
<updateLog class="solr.CdcrUpdateLog">
<str name="dir">${solr.ulog.dir:}</str>
<int name="numRecordsToKeep">500</int>
<int name="maxNumLogsToKeep">20</int>
<int name="numVersionBuckets">65536</int>
</updateLog>
</updateHandler>
Any help would be great.
Thanks
[http://www.nc4worldwide.com/_signature/nc4.png]
Satvinder Singh
Security Systems Engineer
[email protected]<mailto:[email protected]>
703.682.6000 x276 direct
703.989.8030 cell
www.NC4.com<http://www.nc4.com/>
[http://www.nc4worldwide.com/_catalogs/masterpage/images/linkedin-sml.png]
<https://www.linkedin.com/company/nc4>
[http://www.nc4worldwide.com/_catalogs/masterpage/images/googleplus-sml.png]
<https://plus.google.com/+Nc4worldwidesolutions/posts>
[http://www.nc4worldwide.com/_catalogs/masterpage/images/twitter-sml.png]
<https://twitter.com/NC4worldwide>
Disclaimer: This message is intended only for the use of the individual or
entity to which it is addressed and may contain information which is
privileged, confidential, proprietary, or exempt from disclosure under
applicable law. If you are not the intended recipient or the person responsible
for delivering the message to the intended recipient, you are strictly
prohibited from disclosing, distributing, copying, or in any way using this
message. If you have received this communication in error, please notify the
sender and destroy and delete any copies you may have received.