Skip to content
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

dm: handle the query in metadata from binlog #11743

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

joccau
Copy link
Member

@joccau joccau commented Nov 13, 2024

What problem does this PR solve?

Issue Number: close #11735

What is changed and how it works?

Handle the new format of binlog metadata from mariadb to read the binlog position.

Check List

Tests

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

Questions

Will it cause performance regression or break compatibility?

Not.

Do you need to update user documentation, design documentation or monitoring documentation?

Not.

Release note

None

Signed-off-by: joccau <zak.zhao@pingcap.cn>
@ti-chi-bot ti-chi-bot bot added do-not-merge/needs-linked-issue release-note Denotes a PR that will be considered when it comes time to generate release notes. area/dm Issues or PRs related to DM. labels Nov 13, 2024
@sre-bot
Copy link

sre-bot commented Nov 13, 2024

CLA assistant check
All committers have signed the CLA.

@ti-chi-bot ti-chi-bot bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed do-not-merge/needs-linked-issue labels Nov 13, 2024
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.2136%. Comparing base (b2a4f9a) to head (1020abf).
Report is 7 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
Components Coverage Δ
cdc 59.6170% <ø> (+0.0414%) ⬆️
dm 50.1154% <100.0000%> (+0.0788%) ⬆️
engine 53.2957% <ø> (+0.0564%) ⬆️
Flag Coverage Δ
unit 55.2136% <100.0000%> (+0.0626%) ⬆️

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

@@               Coverage Diff                @@
##             master     #11743        +/-   ##
================================================
+ Coverage   55.1510%   55.2136%   +0.0626%     
================================================
  Files          1002       1002                
  Lines        137399     137580       +181     
================================================
+ Hits          75777      75963       +186     
- Misses        56074      56081         +7     
+ Partials       5548       5536        -12     
---- 🚨 Try these New Features:

Signed-off-by: joccau <zak.zhao@pingcap.cn>
@ti-chi-bot ti-chi-bot bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 14, 2024
@joccau joccau changed the title handle the query in metadata from binlog[wip] handle the query in metadata from binlog Nov 14, 2024
@joccau joccau changed the title handle the query in metadata from binlog dm: handle the query in metadata from binlog Nov 14, 2024
@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Nov 16, 2024
Copy link
Contributor

@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.

LGTM

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Nov 19, 2024
Copy link
Contributor

ti-chi-bot bot commented Nov 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: GMHDBJD, lance6716

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

The pull request process is described here

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 lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 21, 2024
Copy link
Contributor

ti-chi-bot bot commented Nov 21, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-11-19 07:52:17.183288103 +0000 UTC m=+947499.374157100: ☑️ agreed by GMHDBJD.
  • 2024-11-21 03:04:41.085126565 +0000 UTC m=+87268.704781078: ☑️ agreed by lance6716.

@lance6716
Copy link
Contributor

@joccau please sign CLA

@joccau
Copy link
Member Author

joccau commented Nov 21, 2024

@joccau please sign CLA

Done

@lance6716
Copy link
Contributor

/retest

1 similar comment
@lance6716
Copy link
Contributor

/retest

@ti-chi-bot ti-chi-bot bot merged commit 1ba95a4 into pingcap:master Nov 21, 2024
28 checks passed
mjonss pushed a commit to mjonss/tiflow that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/dm Issues or PRs related to DM. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

metadata error with MariaDB 11.4
4 participants