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] Let the records of snapshot split don't cross checkpoints #1505

Merged
merged 3 commits into from
Aug 25, 2022

Conversation

leonardBang
Copy link
Contributor

The output records of a snapshot split should not cross checkpoints, this may lead to data duplication when failover happen, because partial snapshot records of one split may sent in last checkpoint, but this snapshot split may be re-read all snapshot records after failover, this behavior bring potential data duplication issue.

@leonardBang
Copy link
Contributor Author

@ruanhang1993 Would you like to help review this PR?

@leonardBang leonardBang added this to the V2.3.0 milestone Aug 24, 2022
Copy link
Contributor

@ruanhang1993 ruanhang1993 left a comment

Choose a reason for hiding this comment

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

@leonardBang Thanks for the contribution. I left some comments.

@leonardBang leonardBang changed the title [mysql] Make the records of snapshot split don't cross checkpoints [mysql] Let the records of snapshot split don't cross checkpoints Aug 24, 2022
address comments
Copy link
Contributor

@ruanhang1993 ruanhang1993 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks. @leonardBang

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