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

lightning(dm): ignore checkpoint error should using ExtStorage #7702

Merged
merged 9 commits into from
Nov 24, 2022

Conversation

lance6716
Copy link
Contributor

@lance6716 lance6716 commented Nov 24, 2022

Signed-off-by: lance6716 [email protected]

What problem does this PR solve?

Issue Number: ref #7114

What is changed and how it works?

in old code, (l *LightningLoader) ignoreCheckpointError forget to use engine's injected S3 to cleanup checkpoint

Check List

Tests

  • Integration test

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

`None`.

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Nov 24, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • D3Hunter
  • okJiang

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added do-not-merge/needs-linked-issue release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 24, 2022
Signed-off-by: lance6716 <[email protected]>
@ti-chi-bot ti-chi-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 24, 2022
Signed-off-by: lance6716 <[email protected]>
Signed-off-by: lance6716 <[email protected]>
@ti-chi-bot ti-chi-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 24, 2022
Signed-off-by: lance6716 <[email protected]>
@ti-chi-bot ti-chi-bot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/needs-linked-issue release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Nov 24, 2022
@lance6716 lance6716 changed the title [WIP]lightning(dm): ignore checkpoint error should using ExtStorage lightning(dm): ignore checkpoint error should using ExtStorage Nov 24, 2022
@ti-chi-bot ti-chi-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 24, 2022
@lance6716
Copy link
Contributor Author

/cc @D3Hunter @okJiang

Signed-off-by: lance6716 <[email protected]>
@lance6716
Copy link
Contributor Author

but the progress becomes 0% 😂


    "finished_unit_status": {
        "mysql-01": [
 ...
            {
                "Unit": "DMLoadTask",
                "Task": "mysql-01",
                "Stage": "Finished",
                "CfgModRevision": 0,
                "StageUpdatedTime": "2022-11-24T05:20:55.336177527Z",
                "Result": {},
                "Status": {
                    "totalBytes": 614,
                    "progress": "0.00 %"
                },
                "Duration": 48761762780
            }
        ]

@codecov-commenter
Copy link

Codecov Report

Merging #7702 (88b0f41) into master (6d24a57) will decrease coverage by 0.0386%.
The diff coverage is 47.6190%.

Additional details and impacted files
Flag Coverage Δ
engine 64.0047% <ø> (+0.0078%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@@               Coverage Diff                @@
##             master      #7702        +/-   ##
================================================
- Coverage   59.9034%   59.8648%   -0.0386%     
================================================
  Files           810        810                
  Lines         93255      93260         +5     
================================================
- Hits          55863      55830        -33     
- Misses        32535      32567        +32     
- Partials       4857       4863         +6     

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 24, 2022
@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Nov 24, 2022
@lance6716
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 88b0f41

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 24, 2022
@ti-chi-bot
Copy link
Member

@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.

@lance6716
Copy link
Contributor Author

/run-engine-integration-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants