-
Notifications
You must be signed in to change notification settings - Fork 499
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
BR: log backup checkpoint ts can be updated when operator restart #4746
BR: log backup checkpoint ts can be updated when operator restart #4746
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. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4746 +/- ##
==========================================
+ Coverage 61.22% 70.32% +9.09%
==========================================
Files 212 216 +4
Lines 23855 26715 +2860
==========================================
+ Hits 14606 18786 +4180
+ Misses 7884 6524 -1360
- Partials 1365 1405 +40
|
…into log-backup-support-restart-operator
@WangLe1321: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. 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. |
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.
LGTM
@grovecai: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. 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. |
/test pull-e2e-kind |
/test pull-e2e-kind-across-kubernetes |
/test pull-e2e-kind pull-e2e-kind-across-kubernetes |
/test pull-e2e-kind |
1 similar comment
/test pull-e2e-kind |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 8bdf05a
|
/test pull-e2e-kind |
7 similar comments
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
4 similar comments
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
/test pull-e2e-kind |
@WizardXiao: Your PR was out of date, I have automatically updated it for you. 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. |
/test pull-e2e-kind-across-kubernetes |
1 similar comment
/test pull-e2e-kind-across-kubernetes |
/test pull-e2e-kind |
1 similar comment
/test pull-e2e-kind |
/test pull-e2e-kind-across-kubernetes |
/test pull-e2e-kind |
/test pull-e2e-kind-across-kubernetes |
What problem does this PR solve?
Closes #4745
What is changed and how does it work?
operator main --> backup controller --> backup manager --> backup tracker
is only one in operator.a. tracker init will try to find all log backup and add them to the map which key is namespack and cluster.
b. log backup start will add it to the map
c. if add log backup to the map successfully, it will start a go routine which has a loop to track log backup's checkpoint ts and will stop when log backup complete.
d. by the way, add or delete the map has a mutex.
Code changes
Tests
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.