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

[Fix][MySQL-CDC]fix recovery task failure caused by binlog deletion #8587

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

lm-ylj
Copy link
Contributor

@lm-ylj lm-ylj commented Jan 24, 2025

Purpose of this pull request

close #8586

Does this PR introduce any user-facing change?

How was this patch tested?

I can simulate and reproduce the scenario where the problem occurred
The testing steps are as follows:
step1: Start the task to synchronize data from MySQL CDC to Redis
step2: After the task synchronization is completed, execute the MySQL command "flush binary logs;" to create a new binlog file
step3: Wait to receive the binlog heartbeat event and the next checkpoint events
step4: Pause Task
step5: Execute the MySQL command “purge binary logs before 'xxx“ to delete the previous binlog file
step6: Restore Task
Error will occur before modification
After modification, the task can be restored normally

Check list

@hailin0
Copy link
Member

hailin0 commented Jan 24, 2025

Thanks! Please add test cases

@github-actions github-actions bot added the e2e label Jan 25, 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.

[Bug] [MySQL-CDC] Restore task failed due to the deletion of binlog
2 participants