-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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: enhance request log in server-mode and restore progress #33718
Conversation
[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. |
component/lightning |
/component lightning |
/cc @gozssky @lance6716 |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/7149e02d99bd0e304520d435633db3884a480ded |
} else { | ||
for _, eng := range cp.Engines { | ||
for _, chunk := range eng.Chunks { | ||
totalDataSizeToRestore += chunk.Chunk.EndOffset - chunk.Chunk.Offset |
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.
seems when task is paused and resumed, we'll use unfinished bytes to calculate progress. This will display a 0% progress when resuming, which makes me think that the resuming is failed and we're starting from scratch 🤔
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.
it's consistent to previous impl, cal progress from current checkpoint, not from the datafile begin.
/run-integration-br-test |
1 similar comment
/run-integration-br-test |
ping @gozssky |
ping @lance6716 |
/merge |
@D3Hunter: In response to this:
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 help with merge |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: ff70519
|
TiDB MergeCI notify🔴 Bad News! New failing [2] after this pr merged.
|
What problem does this PR solve?
Issue Number: close #33715
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note