-
Bug
-
Resolution: Done
-
Major
-
0.8.3.Final
-
None
Binlog reader increased the count for restartEventsToSkip each time after it processed binlog event. That count would be reset when there is a 'BEGIN' sql or a 'COMMIT' sql. However, if the task was restarted after processing a DDL event, it would increase the restartEventsToSkip count as well as record the latest binlog position in offset, and the offset will be updated to kafka offset topic by the DDL record. And then, if the task was restarted, it will skip the first N events after restart which should not be skipped.