Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MySQL] Fix for DBZ-7037 and 2217 to not clear tableMapEventByTableId for fake Rotates Event #3065

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

shikai93
Copy link
Contributor

Event log
Caused by: com.github.shyiko.mysql.binlog.event.deserialization.MissingTableMapEventException
would occur as explained in issue #2217 whereby client is restarted during the consumption process, leading to a Rotate Event that clears the tableMapEventByTableId.

This has been fixed in DBZ discussing the same issue. This PR tries to port that fix over since Flink CDC clones the MySqlStreamingChangeEventSource.

…ntom rotate event during binlog client restart
Copy link
Contributor

@PatrickRen PatrickRen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shikai93 Thanks for the patch! LGTM.

@PatrickRen PatrickRen merged commit 80d461b into apache:master Apr 10, 2024
17 checks passed
wuzhenhua01 pushed a commit to wuzhenhua01/flink-cdc-connectors that referenced this pull request Aug 4, 2024
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
jw-itq added a commit to jw-itq/seatunnel that referenced this pull request Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants