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][hotfix] fix schema isn't known to connector bug #965

Merged
merged 3 commits into from
Mar 21, 2022

Conversation

zhjwpku
Copy link
Contributor

@zhjwpku zhjwpku commented Mar 19, 2022

when starting from a savepoint with the scanNewlyAddedTable
flag enabled, if there are some binlog records starting from
savepoint belong to the newly added table, Debeziumn can
not parse the record because of the table's schema isn't
known to the connector.

We can simply filter this kind of Exceptions.

Signed-off-by: 元组 zhaojunwang.zjw@alibaba-inc.com

元组 added 2 commits March 19, 2022 20:12
when starting from a savepoint with the scanNewlyAddedTable
flag enabled, if there are some binlog records starting from
savepoint belong to the newly added table, Debeziumn can
not parse the record because of the table's schema isn't
known to the connector.

We can simply filter this kind of Exceptions.

Signed-off-by: 元组 <zhaojunwang.zjw@alibaba-inc.com>
Signed-off-by: 元组 <zhaojunwang.zjw@alibaba-inc.com>
@leonardBang leonardBang self-requested a review March 21, 2022 02:26
Signed-off-by: 元组 <zhaojunwang.zjw@alibaba-inc.com>
Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @zhjwpku for the contribution, LGTM

@tushimian
Copy link

When restoring from a checkpoint, both newly added tables and existing tables will be initialized?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants