-
Notifications
You must be signed in to change notification settings - Fork 287
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
owner: prevent table start-ts regressions #1236
Conversation
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
if replicaInfo.StartTs < globalcheckpointTs { | ||
// use Warn instead of Panic in case that p.globalcheckpointTs has not been initialized. | ||
// The cdc_state_checker will catch a real inconsistency in integration tests. |
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.
If globalcheckpointTs
is larger than 0 (initialized already), and replicaInfo.StartTs < globalcheckpointTs
, then it is a bug (not as expected), right?
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.
Yes
/run-all-tests |
/run-all-tests |
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
Please also update document about the behavior change with DDL error after PR is merged. ref item-3 in #1328 |
/run-kafka-tests |
LGTM |
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #1331 |
/run-cherry-picker |
(cherry picked from commit 78de95e)
What problem does this PR solve?
What is changed and how it works?
global checkpoint >= FinishTs
.Check List
Tests
Related changes
Release note