DBZ-2582-lsn-changes revert log change

This commit is contained in:
James Gormley 2020-09-28 06:36:46 -04:00 committed by Gunnar Morling
parent 4637425598
commit 6d68bb02de

View File

@ -135,9 +135,7 @@ public void execute(ChangeEventSourceContext context) throws InterruptedExceptio
}
// There is no change in the database
if (maxLsnResult.getMaxTransactionalLsn().compareTo(lastProcessedPosition.getCommitLsn()) <= 0 && shouldIncreaseFromLsn) {
LOGGER.debug("No change in the database. Max Transaction Lsn: {}, Max Lsn: {}, Last Processed Position: {}.",
maxLsnResult.getMaxTransactionalLsn(), maxLsnResult.getMaxLsn(), lastProcessedPosition.getCommitLsn());
lastProcessedPosition = TxLogPosition.valueOf(maxLsnResult.getMaxLsn());
LOGGER.debug("No change in the database");
continue;
}