-
Bug
-
Resolution: Done
-
Minor
-
1.9.0.Beta1
-
None
-
False
-
None
-
False
-
A new schema can be applied to the chunk with an old schema if DDL event is within the chunk select window.
The chunk's JDBC schema in this case is the same as before. Schema change won't be detected. The binlog schema will get updated with the DDL event. The chunk is inserted after window close event. The events mapping uses the latest schema for the chunk.
The fix is simple: re-read chunk on DDL event. In this case chunk will have schema that is up to date with the binlog schema.