Skip to content

test: fix integration test changefeed_error#930

Merged
ti-chi-bot[bot] merged 7 commits into
pingcap:masterfrom
asddongmen:fix_changefeed_related_its
Jan 21, 2025
Merged

test: fix integration test changefeed_error#930
ti-chi-bot[bot] merged 7 commits into
pingcap:masterfrom
asddongmen:fix_changefeed_related_its

Conversation

@asddongmen
Copy link
Copy Markdown
Collaborator

@asddongmen asddongmen commented Jan 21, 2025

What problem does this PR solve?

Issue Number: ref #442

What is changed and how it works?

This pull request adds the checkStaleCheckpointTs method in the coordinator to check each changefeed's checkpointTs before saving them to the meta DB. This method ensures that stale changefeeds will be marked as failed, preventing them from blocking upstream GC indefinitely.

Additionally, it fixes the integration test case changefeed_error related to the above changes.

Check List

Tests

  • Integration test
  • Manual test (add detailed scripts or steps below)

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

None

Signed-off-by: dongmen <414110582@qq.com>
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Jan 21, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@ti-chi-bot ti-chi-bot Bot added do-not-merge/needs-linked-issue do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 21, 2025
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
Signed-off-by: dongmen <414110582@qq.com>
@asddongmen asddongmen changed the title test: adjust test: fix integration test changefeed_error Jan 21, 2025
@ti-chi-bot ti-chi-bot Bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/needs-triage-completed and removed do-not-merge/needs-linked-issue release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Jan 21, 2025
@asddongmen asddongmen marked this pull request as ready for review January 21, 2025 05:57
@ti-chi-bot ti-chi-bot Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 21, 2025
@asddongmen asddongmen self-assigned this Jan 21, 2025
@ti-chi-bot ti-chi-bot Bot added the lgtm label Jan 21, 2025
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Jan 21, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hongyunyan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented Jan 21, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-21 06:56:05.603365295 +0000 UTC m=+163892.934284699: ☑️ agreed by hongyunyan.

@ti-chi-bot ti-chi-bot Bot added the approved label Jan 21, 2025
@ti-chi-bot ti-chi-bot Bot merged commit 932ae4c into pingcap:master Jan 21, 2025
@asddongmen asddongmen deleted the fix_changefeed_related_its branch January 22, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants