Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

syncer: fix checkpoint update when multi sharding group exists #124

Merged
merged 1 commit into from
Apr 23, 2019

Conversation

csuzhangxc
Copy link
Member

What problem does this PR solve?

when multiple sharding group exists, the global may be updated incorrectly.

What is changed and how it works?

fix global checkpoint adjusts in lowestFirstPosInGroups.

Check List

Tests

  • Unit test

Related changes

  • Need to be included in the release note

@csuzhangxc csuzhangxc added priority/important Major change, requires approval from ≥2 primary reviewers status/PTAL This PR is ready for review. Add this label back after committing new changes type/bug-fix Bug fix type/qa relate to quality assurance labels Apr 23, 2019
@csuzhangxc
Copy link
Member Author

@GregoryIan @amyangfei PATL

@IANTHEREAL
Copy link
Collaborator

LGTM

@IANTHEREAL IANTHEREAL added status/LGT1 One reviewer already commented LGTM and removed status/PTAL This PR is ready for review. Add this label back after committing new changes labels Apr 23, 2019
Copy link
Contributor

@amyangfei amyangfei left a comment

Choose a reason for hiding this comment

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

LGTM

@amyangfei amyangfei added status/LGT2 Two reviewers already commented LGTM, ready for merge and removed status/LGT1 One reviewer already commented LGTM labels Apr 23, 2019
@csuzhangxc csuzhangxc merged commit eabc76e into pingcap:master Apr 23, 2019
@csuzhangxc csuzhangxc deleted the fix-sharding-pos branch April 23, 2019 14:24
lichunzhu pushed a commit to lichunzhu/dm that referenced this pull request Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/important Major change, requires approval from ≥2 primary reviewers status/LGT2 Two reviewers already commented LGTM, ready for merge type/bug-fix Bug fix type/qa relate to quality assurance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants