Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14304

CDCR is failing for dynamic field as single valued are sent to target collection with multiple values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 8.1.1
    • None
    • CDCR, SolrCloud
    • None

    Description

      During Uni-Directional CDCR, after syncing data directories from source to target collection's replicas and then starting Target and Source cluster, when I start the CDCR replication using /cdcr?action=START on Source collection,

      On Source collection, I am getting following error on Solr admin logging section:

      BaseCloudSolrClient Request to collection [search1] failed due to (400) org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://IP:PORT/solr/search1_shard1_replica_n1: ERROR: [doc=A_someID_s] multiple values encountered for non multiValued field StartDate_dt: [2012-04-12T00:00:01.000Z,​ 2012-04-12T00:00:01.000Z|#8203; 2012-04-12T00:00:01.000Z],​ retry=0 commError=false errorCode=400

       

      and following warning:

      CdcrReplicator Failed to forward update request to target: search1

       

      Also on Target Collection getting following ERROR :

      ERROR false x:search1_shard1_replica_n1 RequestHandlerBase org.apache.solr.common.SolrException: ERROR: [doc=A_someID_s] multiple values encountered for non multiValued field StartDate_dt: [2012-04-12T00:00:01.000Z,​ 2012-04-12T00:00:01.000Z|#8203; 2012-04-12T00:00:01.000Z]

       

      The field I am using is :

       

      <dynamicField name="*_dt" type="date" indexed="true" stored="true" multiValued="false" omitNorms="true"/>

      <fieldType name="date" class="solr.TrieDateField" precisionStep="0" positionIncrementGap="0"/>

       

       Other CDCR monitoring actions and STAR, STOP and BOOTSTRAP are working fine.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jayesh Jayesh Shende
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: