Skip to content

br: add ddl test for pitr online filter#61631

Merged
ti-chi-bot[bot] merged 11 commits intopingcap:masterfrom
Leavrth:add_ddl_test_for_pitr_online_filter
Jun 17, 2025
Merged

br: add ddl test for pitr online filter#61631
ti-chi-bot[bot] merged 11 commits intopingcap:masterfrom
Leavrth:add_ddl_test_for_pitr_online_filter

Conversation

@Leavrth
Copy link
Copy Markdown
Contributor

@Leavrth Leavrth commented Jun 10, 2025

What problem does this PR solve?

Issue Number: ref #61525

Problem Summary:
need ddl cases to cover refresh meta ddl

What changed and how does it work?

add ddl test for pitr online filter

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-tests-checked release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed do-not-merge/needs-tests-checked labels Jun 10, 2025
@tiprow
Copy link
Copy Markdown

tiprow bot commented Jun 10, 2025

Hi @Leavrth. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

Details

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-sigs/prow repository.

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 10, 2025

Codecov Report

Attention: Patch coverage is 59.04255% with 77 lines in your changes missing coverage. Please review.

Project coverage is 74.8085%. Comparing base (1ef4c26) to head (bef1a66).
Report is 30 commits behind head on master.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #61631        +/-   ##
================================================
+ Coverage   73.1132%   74.8085%   +1.6952%     
================================================
  Files          1729       1776        +47     
  Lines        481044     494596     +13552     
================================================
+ Hits         351707     370000     +18293     
+ Misses       107810     101466      -6344     
- Partials      21527      23130      +1603     
Flag Coverage Δ
integration 48.8435% <39.8936%> (?)
unit 72.2814% <19.1489%> (-0.0911%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 52.7804% <ø> (ø)
parser ∅ <ø> (∅)
br 61.7483% <68.8073%> (+14.7774%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 11, 2025
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
@Tristan1900 Tristan1900 force-pushed the add_ddl_test_for_pitr_online_filter branch from 6a18835 to 0dfa2a2 Compare June 11, 2025 02:54
Leavrth and others added 7 commits June 11, 2025 20:03
Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
@Leavrth
Copy link
Copy Markdown
Contributor Author

Leavrth commented Jun 13, 2025

/retest

@tiprow
Copy link
Copy Markdown

tiprow bot commented Jun 13, 2025

@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

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-sigs/prow repository.

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
@Tristan1900
Copy link
Copy Markdown
Contributor

/lgtm

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jun 16, 2025
@Tristan1900
Copy link
Copy Markdown
Contributor

/hold

for a final look before merging

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 16, 2025
@Leavrth Leavrth requested a review from Tristan1900 June 16, 2025 16:08
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Jun 16, 2025

@Tristan1900: Your lgtm message is repeated, so it is ignored.

Details

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-sigs/prow repository.

@ti-chi-bot
Copy link
Copy Markdown
Member

@Tristan1900: once the present PR merges, I will cherry-pick it on top of release-8.5-20250114-v8.5.0 in the new PR and assign it to you.

Details

In response to this:

/cherrypick release-8.5-20250114-v8.5.0

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.

Signed-off-by: Wenqi Mou <wenqimou@gmail.com>
SchemaID: schemaID,
TableID: tableID,
Version: diff.Version,
Type: model.ActionDropTable,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will the refresh meta handle the partition rather than table? if so, do we need modify the schemadiff.Type base on table/partion?

Copy link
Copy Markdown
Contributor Author

@Leavrth Leavrth Jun 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it only handles logical tables (not partitions) and databases.

Copy link
Copy Markdown
Collaborator

@GMHDBJD GMHDBJD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest LGTM

-- ActionModifyColumn
create table test_snapshot_db_create.t_modify_column (id int);

-- ActionRenameTable
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add ActionRenameSchema/ActionRenameSequence?

Copy link
Copy Markdown
Contributor

@Tristan1900 Tristan1900 Jun 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't see ActionRenameSchema and ActionRenameSequence in the DDL code list, I don't think we support these operations?

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jun 17, 2025
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Jun 17, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-06-16 12:33:24.444497204 +0000 UTC m=+102257.167676371: ☑️ agreed by Tristan1900.
  • 2025-06-17 11:37:11.629010657 +0000 UTC m=+185284.352189638: ☑️ agreed by GMHDBJD.

@tiprow
Copy link
Copy Markdown

tiprow bot commented Jun 17, 2025

@Leavrth: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
fast_test_tiprow bef1a66 link true /test fast_test_tiprow

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

@Tristan1900
Copy link
Copy Markdown
Contributor

/retest

@tiprow
Copy link
Copy Markdown

tiprow bot commented Jun 17, 2025

@Tristan1900: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

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-sigs/prow repository.

@Tristan1900
Copy link
Copy Markdown
Contributor

/unhold

@ti-chi-bot ti-chi-bot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 17, 2025
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Jun 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 3pointer, GMHDBJD, Tristan1900

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 ti-chi-bot bot added the approved label Jun 17, 2025
@ti-chi-bot ti-chi-bot bot merged commit 8310982 into pingcap:master Jun 17, 2025
31 of 34 checks passed
@Tristan1900
Copy link
Copy Markdown
Contributor

/cherrypick release-8.5-20250114-v8.5.0

ti-chi-bot pushed a commit to ti-chi-bot/tidb that referenced this pull request Jun 17, 2025
@ti-chi-bot
Copy link
Copy Markdown
Member

@Tristan1900: new pull request created to branch release-8.5-20250114-v8.5.0: #61783.

Details

In response to this:

/cherrypick release-8.5-20250114-v8.5.0

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.

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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants