Hello all,

We are using Solr 7.7.3 (SolrCloud, 2 nodes w/zookeepers per data center) and 
today we started to receive alerts:

CdcrReplicator Failed to forward update request to target: Authors
java.lang.ClassCastException: class java.lang.Long cannot be cast to class 
java.util.List (java.lang.Long and java.util.List are in module java.base of 
loader 'bootstrap')

at 
org.apache.solr.update.CdcrUpdateLog$CdcrLogReader.getVersion(CdcrUpdateLog.java:732)

This error repeated until we took action. Stopping and starting CDCR made the 
error stop, we are still trying to verify our data. I suspect we lost something…

I noticed this issue was first raised in Oct. 2019 (as indicated here: 
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201910.mbox/%3c1572288519571-0.p...@n3.nabble.com%3E)
 and we are looking for advice on this.
I have reviewed the code and it looks like the implementation has not changed, 
so this issue may still occur in current master. It looks like the compiler 
warning is now being ignored though! Someone has added 
@SuppressWarnings({"rawtypes"})

Any guidance is very much appreciated.

- Thank you

Reply via email to