-
Bug
-
Resolution: Done
-
Major
-
1.9.0.Alpha2
-
None
-
False
-
False
-
-
DBZ-4367 introduced "rewind" functionality that changes the initial mining offset during the streaming phase when there were pending transactions during the taking of the initial snapshot. Debezium now starts mining from the start of the first such transaction, to capture changes with SCN < snapshotSCN that were only committed with commitSCN > snapshotSCN.
If the start of the oldest pending transaction lies before the oldest SCN still available in the archive logs, mining is supposed to start from the oldest SCN still in the logs.
Due to an off-by-one error in that logic, the Logminer streaming change event source attempts to start mining at (oldestSCN-1) instead of oldestSCN, which causes the connector the throw an exception.