-
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
log-backup: calculate global-checkpoint from pd written by tikv #36305
Conversation
Signed-off-by: joccau <[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. |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/783cb2108dff8a9ce4a1da5e23e8354dae6c7f62 |
Signed-off-by: joccau <[email protected]>
Signed-off-by: joccau <[email protected]>
Signed-off-by: joccau <[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.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: b13f71d
|
/run-mysql-test |
/run-mysql-test |
/run-check_dev_2 |
1 similar comment
/run-check_dev_2 |
/rebuild |
/run-check_dev_2 |
/run-unit-test |
/run-mysql-tests |
/run-unit-tests |
TiDB MergeCI notify🔴 Bad News! [2] CI still failing after this pr merged.
|
Signed-off-by: joccau [email protected]
What problem does this PR solve?
Issue Number: close #36246
Problem Summary:
The global checkpoint-ts got by command
br log metadata
from externStorage is smaller than the value got by commandbr log status
from PD server in upstream-cluster.What is changed and how it works?
br log status
.Check List
Tests
Manual test
br log status -u "x.x.x.x:2379"
● Total 1 Tasks.
br log metadata -s "xxxxxx"
[2022/07/20 13:05:24.908 +08:00] [INFO] [collector.go:69] ["log metadata"] [log-min-ts=434582449885806593] [log-min-date="2022-07-14 20:08:03.268 +0800 CST"] [log-max-ts=434711671057416193] [log-max-date="2022-07-20 13:03:42.918 +0800 CST"]
Conclusion
The global checkpoint-ts got by command
br log metadata
from externStorage is smaller than or equal to the value got by commandbr log status
from PD server in upstream-cluster.Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.