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

定时保存snapshot到DB的逻辑中,schema名称获取错误,在有配置canal.instance.filter.regex时,由于对应的table无法被匹配中,导致compareTableMetaDbAndMemory方法不被执行 #3693

Merged
merged 3 commits into from
Oct 9, 2021

Conversation

happyrita
Copy link
Contributor

@happyrita happyrita commented Jul 29, 2021

image
如图,schema名称获取方式不对,导致在有配置filter时,因为无法正确匹配,最终compareTableMetaDbAndMemory不被执行。
这里需要将schema改为schema.getName(),这样就能获取到schema的名称

@happyrita happyrita changed the title 定时保存snapshot到DB的逻辑中,schema名称获取失败,导致compareTableMetaDbAndMemory方法不被执行 定时保存snapshot到DB的逻辑中,schema名称获取错误,导致在有配置canal.instance.filter.regex时,因为对应的table因为无法被匹配中,导致compareTableMetaDbAndMemory方法不被执行 Aug 30, 2021
@happyrita happyrita changed the title 定时保存snapshot到DB的逻辑中,schema名称获取错误,导致在有配置canal.instance.filter.regex时,因为对应的table因为无法被匹配中,导致compareTableMetaDbAndMemory方法不被执行 定时保存snapshot到DB的逻辑中,schema名称获取错误,在有配置canal.instance.filter.regex时,由于对应的table无法被匹配中,导致compareTableMetaDbAndMemory方法不被执行 Aug 30, 2021
@happyrita
Copy link
Contributor Author

@agapple 麻烦check下,问题比较明显

@agapple agapple merged commit 9e11c3c into alibaba:master Oct 9, 2021
@agapple
Copy link
Member

agapple commented Oct 9, 2021

tks

@agapple agapple added this to the v1.1.6 milestone Oct 9, 2021
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.

2 participants