-
Notifications
You must be signed in to change notification settings - Fork 282
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
gc (ticdc): optimize the algorithm calculating gc safepoint (#8464) #9014
gc (ticdc): optimize the algorithm calculating gc safepoint (#8464) #9014
Conversation
[REVIEW NOTIFICATION] This pull request has not been approved. 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. |
/assign |
/retest-required |
/cherry-pick-invite @charleszheng44 |
/cherry-pick-invite |
1 similar comment
/cherry-pick-invite |
@charleszheng44 Please accept the invitation then you can push to the cherry-pick pull requests. |
f6815bd
to
04a1c00
Compare
/test all |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 04a1c00
|
/test all |
@charleszheng44: No presubmit jobs available for pingcap/tiflow@release-6.5 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/test-infra repository. |
/run-all-tests |
/retest |
/retest |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 6e6f133
|
/retest |
@ti-chi-bot: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests
If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. 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. |
/run-kafka-integration-test |
@@ -0,0 +1,84 @@ | |||
#!/bin/bash | |||
|
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.
Is this file mistakenly added?
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.
removed
/test verify |
/retest |
/run-kafka-integration-test |
/run-integration-test |
/run-dm-integration-test |
/run-dm-compatibility-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 72b0170
|
This is an automated cherry-pick of #8464
What problem does this PR solve?
Issue Number: close #8403
What is changed and how it works?
gc (ticdc): Instead of keeping restarting error changefeed in 24 hours, put the error changefeed into failed state and calculate the ticdc global gc safepoint based on checkpoint ts of all changefeeds and give users 24 hours grace period to handle the failed changefeed.
e.g.,
Have two ChangeFeeds,
cf1(failed) with checkpointTs ts1
cf2(normal) with checkpointTs ts2
the global gc safepoint will be:
min(ts2, max(ts1, currentPDTs - 24 hours))
After this pr being merged:
gcsafepoint
, changefeed has been failed for more than 24 hours will be ignoredCheck List
Tests
Questions
No
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note