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

sink-mysql(cdc) set variables first and then execute DMLs #10323

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

zhangjinpeng87
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #10322

What is changed and how it works?

Set session variables first and then execute DMLs, in this way everything is expected when the downstream is other mysql compatible databases (not TiDB).

Check List

Tests

  • Unit test

Questions

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

Release note

`None`.

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 18, 2023
@zhangjinpeng87
Copy link
Contributor Author

/test cdc-integration-storage-test

1 similar comment
@zhangjinpeng87
Copy link
Contributor Author

/test cdc-integration-storage-test

@zhangjinpeng87
Copy link
Contributor Author

/retest

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Dec 19, 2023
@ti-chi-bot ti-chi-bot bot added the lgtm label Dec 19, 2023
Copy link
Contributor

ti-chi-bot bot commented Dec 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: asddongmen, nongfushanquan

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 removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Dec 19, 2023
Copy link
Contributor

ti-chi-bot bot commented Dec 19, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-12-19 05:24:16.580840513 +0000 UTC m=+938547.618067425: ☑️ agreed by asddongmen.
  • 2023-12-19 07:41:33.392623494 +0000 UTC m=+946784.429850420: ☑️ agreed by nongfushanquan.

@ti-chi-bot ti-chi-bot bot merged commit b1ccbb1 into pingcap:master Dec 19, 2023
12 of 14 checks passed
@zhangjinpeng87 zhangjinpeng87 self-assigned this Dec 27, 2023
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sink(mysql) execute DMLs first and then set session variables
3 participants