From ab666ff9cfed0d816c58bf64ebf295f7f38f5cd1 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Thu, 28 Jun 2018 14:53:56 +0100 Subject: [PATCH] SOLR-12524: mention ids in CdcrLogReader.forwardSeek's assert --- solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.java b/solr/core/src/java/org/apache/solr/update/CdcrUpdateLog.java index 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;