Jayesh Shende created SOLR-14304:
------------------------------------
Summary: CDCR is failing for dynamic field as single valued are
sent to target collection with multiple values
Key: SOLR-14304
URL: https://issues.apache.org/jira/browse/SOLR-14304
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: CDCR, SolrCloud
Affects Versions: 8.1.1
Environment: Server OS : AWS Linux
Java :
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
Reporter: Jayesh Shende
During 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],​ 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]|
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]