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

support pipeline dml protocol in cdc #1242

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented Apr 17, 2024

This PR adds a generation field to cdc.Event.Row.

@ti-chi-bot ti-chi-bot bot requested review from cfzjywxk and flowbehappy April 17, 2024 04:57
@ti-chi-bot ti-chi-bot bot added the size/XXL label Apr 17, 2024
@hicqu hicqu force-pushed the cdc-pipeline-dml branch from d8b186a to fd19b94 Compare April 17, 2024 05:10
@ti-chi-bot ti-chi-bot bot added size/L and removed size/XXL labels Apr 17, 2024
proto/cdcpb.proto Outdated Show resolved Hide resolved
Signed-off-by: qupeng <[email protected]>
@ti-chi-bot ti-chi-bot bot added the lgtm label Apr 17, 2024
Copy link

ti-chi-bot bot commented Apr 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flowbehappy, YuJuncen

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

Copy link

ti-chi-bot bot commented Apr 17, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-04-17 05:43:57.109888054 +0000 UTC m=+403256.220934520: ☑️ agreed by YuJuncen.
  • 2024-04-17 06:20:03.702080758 +0000 UTC m=+405422.813127208: ☑️ agreed by flowbehappy.
  • 2024-04-17 06:20:05.415839273 +0000 UTC m=+405424.526885716: ✖️🔁 reset by hicqu.

Copy link

ti-chi-bot bot commented Apr 17, 2024

New changes are detected. LGTM label has been removed.

Comment on lines +78 to +80
// generation is for pipelined DML protocol. See kvrpcpb.FlushRequest.generation.
uint64 generation = 10;

Copy link
Contributor

Choose a reason for hiding this comment

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

should we put it after the 9th field?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not necessary. If other guys add more fileds with same id, proto compiler will report it. So we can always group fields by meanning.

@hicqu hicqu merged commit 8178838 into pingcap:master Apr 17, 2024
4 of 5 checks passed
@hicqu hicqu deleted the cdc-pipeline-dml branch April 17, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants