SOLR-12524: mention ids in CdcrLogReader.forwardSeek's assert

This commit is contained in:
Christine Poerschke 2018-06-28 14:53:56 +01:00
parent e1d2749b20
commit ab666ff9cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;