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

在位点出现问题的时候,清空位点缓存,这样只要修正配置文件就可以获取最新,而不需要重启canal #4577

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wizhuo
Copy link

@wizhuo wizhuo commented Jan 17, 2023

背景:

使用非gtid 的模式,当位点出现配置错误或者其他原因导致的位点错误(主从切换等),修正配置文件后需要重启canal才能生效

目标

当出现以上问题,系统可以自动清理缓存,获取最新的配置文件信息

方案

系统在监听到dum 位点错误的时候,清理位点缓存,下一次自动去获取最新的配置文件

@CLAassistant
Copy link

CLAassistant commented Jan 17, 2023

CLA assistant check
All committers have signed the CLA.

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

2 participants