-
Notifications
You must be signed in to change notification settings - Fork 287
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
syncer(dm): update dep to remove clone for TableInfo #7590
Conversation
Signed-off-by: lance6716 <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/cc @GMHDBJD @CharlesCheung96 |
/run-engine-integration-test |
/hold |
Signed-off-by: lance6716 <[email protected]>
Signed-off-by: lance6716 <[email protected]>
/run-dm-integration-test |
/unhold |
Signed-off-by: lance6716 <[email protected]>
Signed-off-by: lance6716 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't find where changes the tableInfo😂, can you give an example? BTW, related problem about version updating is fixed in #7584.
Signed-off-by: lance6716 <[email protected]>
TableInfo is changed in SchemaTracker when handling DDL, pingcap/tidb#39103 An example: TableInfo is read by checkpoint component as a "flushed TableInfo", and when task has error, checkpoint will use flushed TableInfo to rollback some changes. If the TableInfo is mutable, flushed TableInfo may be modified after a DDL |
Codecov Report
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #7590 +/- ##
================================================
- Coverage 60.0458% 60.0010% -0.0449%
================================================
Files 807 807
Lines 92391 92450 +59
================================================
- Hits 55477 55471 -6
- Misses 32099 32157 +58
- Partials 4815 4822 +7 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: ddfa2bd
|
@lance6716: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Signed-off-by: lance6716 [email protected]
What problem does this PR solve?
Issue Number: ref #4287
What is changed and how it works?
in the old PR, I'm afraid that TableInfo is changing by SchemaTracker when DMLWorker is accesing, so I clone it before assign it to DMLWorker. But seems DML and DDL job will not be processed simutaneously, this clone is not needed.Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note