Apache Lucene open-source search software
SOLR-12524: mention ids in CdcrLogReader.forwardSeek's assert
Christine Poerschkeab666ff9cfed
diff --git a/solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.java b/solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.javaindex bff16122ecf..6d41b6477fb 100644--- a/solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.java+++ b/solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.java@@ -608,7 +608,7 @@ public class CdcrUpdateLog extends UpdateLog {tlogs.removeLast();currentTlog = tlogs.peekLast();}- assert this.tlogs.peekLast().id == subReader.tlogs.peekLast().id;+ assert this.tlogs.peekLast().id == subReader.tlogs.peekLast().id : this.tlogs.peekLast().id+" != "+subReader.tlogs.peekLast().id;this.pointer.set(currentTlog.tlogFile);this.lastPositionInTLog = subReader.lastPositionInTLog;this.numRecordsReadInCurrentTlog = subReader.numRecordsReadInCurrentTlog;