-
Notifications
You must be signed in to change notification settings - Fork 6k
br: improve summary and progress visualization of br #56612
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
Conversation
Signed-off-by: Jianjun Liao <[email protected]>
Hi @Leavrth. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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 kubernetes-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #56612 +/- ##
================================================
+ Coverage 73.0285% 74.9134% +1.8849%
================================================
Files 1684 1702 +18
Lines 465663 471739 +6076
================================================
+ Hits 340067 353396 +13329
+ Misses 104691 96664 -8027
- Partials 20905 21679 +774
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Signed-off-by: Jianjun Liao <[email protected]>
Signed-off-by: Jianjun Liao <[email protected]>
/retest |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an 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 kubernetes-sigs/prow repository. |
PR needs rebase. 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 kubernetes-sigs/prow repository. |
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.
Thanks for the change, it should help a lot of our customers as they are confused why the progress bar stopped at around 70%.
Signed-off-by: Jianjun Liao <[email protected]>
/retest |
@BornChanger: Cannot trigger testing until a trusted user reviews the PR and leaves an 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 kubernetes-sigs/prow repository. |
Signed-off-by: Jianjun Liao <[email protected]>
/retest |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an 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 kubernetes-sigs/prow repository. |
Signed-off-by: Jianjun Liao <[email protected]>
/ok-to-test |
@@ -226,6 +226,9 @@ type MultiTablesRestorer struct { | |||
workerPool *util.WorkerPool | |||
fileImporter BalancedFileImporter | |||
checkpointRunner *checkpoint.CheckpointRunner[checkpoint.RestoreKeyType, checkpoint.RestoreValueType] | |||
|
|||
fileCount int |
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.
need lock here or make it atomic?
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.
The variable fileCount
is modified in GoRestore
and load in WaitUntilFinish
(Notice that fileCount
is not used in workerpool or any other goroutines). Actually, the two functions are always appear together like this:
err := restorer.GoRestore()
if err != nil {
return err
}
err = restorer.WaitUntilFinish()
if err != nil {
return err
}
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BornChanger, YuJuncen The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: close #56493
Problem Summary:
See the issue.
What changed and how does it work?
add more details in the summary. And split the progress of snapshot restore
merge-ranges
: the time consumption of ranges merge.split-region
: the time consumption of regions split&scatter.restore-files
: the time consumption of SST files download&ingest.default-CF-files
: the number of default CF files.write-CF-files
: the number of write CF files.split-keys
: the number of keys to split regions.backup-total-regions
: the approximate number of regions backed up.default-CF-files
: the number of default CF files.write-CF-files
: the number of write CF files.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.