I’m testing Solr 6 CDCR, but it’s seems not working.

Source configuration:
<requestHandler name="/cdcr" class="solr.CdcrRequestHandler">
  <lst name="replica">
    <str name="zkHost">targetzkip:2181</str>
    <str name=“Source">corehol</str>
    <str name=“Target">corehol</str>
  </lst>

  <lst name="replicator">
    <str name="threadPoolSize">1</str>
    <str name="schedule">1000</str>
    <str name="batchSize">128</str>
  </lst>

  <lst name="updateLogSynchronizer">
    <str name="schedule">5000</str>
  </lst>
</requestHandler>

<updateHandler class="solr.DirectUpdateHandler2">
  <updateLog class="solr.CdcrUpdateLog">
    <str name="dir">${solr.ulog.dir:}</str>
  </updateLog>
</updateHandler>

Target(s) configuration:
<requestHandler name="/cdcr" class="solr.CdcrRequestHandler">
  <lst name="buffer">
    <str name="defaultState">disabled</str>
  </lst>
</requestHandler>

<updateRequestProcessorChain name="cdcr-proccessor-chain">
  <processor class="solr.CdcrUpdateProcessorFactory"/>
  <processor class="solr.RunUpdateProcessorFactory"/>
</updateRequestProcessorChain>

<requestHandler name="/update" class="solr.UpdateRequestHandler">
  <lst name="defaults">
    <str name="update.chain">cdcr-proccessor-chain</str>
  </lst>
</requestHandler>

<updateHandler class="solr.DirectUpdateHandler2">
  <updateLog class="solr.CdcrUpdateLog">
    <str name="dir">${solr.ulog.dir:}</str>
  </updateLog>
</updateHandler>

Source Log: no cdcr
Target Log: no cdcr

Create a core (solrconfig.xml modification directly from the folder
data_driven_schema_configs):
#bin/solr create -c corehol -p 8983

Start cross-data center replication by running the START command on the
source data center
http://sourceip::8983/solr/corehol/cdcr?action=START

Disable buffer by running the DISABLEBUFFER command on the target data
center
http://targetip::8983/solr/corehol/cdcr?action=DISABLEBUFFER

The documents are not replicated to the target zone.

What should I examine?

Reply via email to