tiflow icon indicating copy to clipboard operation
tiflow copied to clipboard

sinkv2(ticdc): add txn sink mysql backend

Open hicqu opened this issue 2 years ago • 4 comments

What problem does this PR solve?

Issue Number: ref #5928

What is changed and how it works?

Add implementation for mysql sink.

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

hicqu avatar Jul 28 '22 09:07 hicqu

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • hi-rustin
  • nongfushanquan

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.

ti-chi-bot avatar Jul 28 '22 09:07 ti-chi-bot

Codecov Report

Merging #6510 (209c176) into master (f0e21a6) will increase coverage by 0.1098%. The diff coverage is 75.0619%.

Flag Coverage Δ
cdc 66.2926% <76.6355%> (+0.2156%) :arrow_up:
dm 52.0766% <22.2222%> (+0.0038%) :arrow_up:
engine 63.7955% <70.7113%> (-0.3054%) :arrow_down:

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

@@               Coverage Diff                @@
##             master      #6510        +/-   ##
================================================
+ Coverage   59.4618%   59.5716%   +0.1098%     
================================================
  Files           762        766         +4     
  Lines         87377      88067       +690     
================================================
+ Hits          51956      52463       +507     
- Misses        30815      30968       +153     
- Partials       4606       4636        +30     

codecov-commenter avatar Jul 28 '22 11:07 codecov-commenter

This PR is so big, could you please split it into some smalls?

lonng avatar Aug 03 '22 02:08 lonng

This PR is so big

@lonng It has been split into 3 PRs now. Line of code reduces from 4K to 2.5K now. I guess it can be reviewed now as most code is just migrated.

hicqu avatar Aug 11 '22 09:08 hicqu

/run-leak-test /run-verify

hicqu avatar Aug 16 '22 07:08 hicqu

/merge

Rustin170506 avatar Aug 17 '22 05:08 Rustin170506

This pull request has been accepted and is ready to merge.

Commit hash: 1f087fc955a81bfcfc6113a1c61290af2f072ac6

ti-chi-bot avatar Aug 17 '22 05:08 ti-chi-bot

/run-all-tests

hicqu avatar Aug 17 '22 06:08 hicqu

/run-verify

hicqu avatar Aug 17 '22 07:08 hicqu

/run-leak-test

hicqu avatar Aug 17 '22 07:08 hicqu