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(ticdc): Add output-old-value config (#10915) #10974

Merged

Conversation

ti-chi-bot
Copy link
Member

@ti-chi-bot ti-chi-bot commented Apr 25, 2024

This is an automated cherry-pick of #10915

What problem does this PR solve?

Issue Number: close #10916

What is changed and how it works?

this Add sink.open.output-old-value for open protocol, the default value is true.

Open Protocol Events behavior detail

If sink.open.output-old-value is true, no difference
If sink.open.output-old-value is false

  • Add
    No impact
{
"u": [{"c1": xxx}],
"p": null,
"d": null
}
  • Update
    The p will be null
{
"u": [{"c1": xxx}],
"p": null,
"d": null
}
  • Delete
    No impact
{
"d": [{"c1": xxx}],
"p": null,
"u": null
}

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?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

Add `sink.open.output-old-value`  for open protocol to control weather output the old value to downstream.

@ti-chi-bot ti-chi-bot added affect-ticdc-config-docs Pull requests that affect TiCDC configuration docs. lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. type/cherry-pick-for-release-7.5 This PR is cherry-picked to release-7.5 from a source PR. labels Apr 25, 2024
@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 Apr 25, 2024
@ti-chi-bot ti-chi-bot added the cherry-pick-approved Cherry pick PR approved by release team. label Apr 25, 2024
@sdojjy
Copy link
Member

sdojjy commented Apr 25, 2024

/hold

@ti-chi-bot ti-chi-bot bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Apr 25, 2024
@ti-chi-bot ti-chi-bot bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Apr 25, 2024
@sdojjy
Copy link
Member

sdojjy commented Apr 28, 2024

/retest-required

@ti-chi-bot ti-chi-bot bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 28, 2024
…10915-to-release-7.5

# Conflicts:
#	cdc/api/v2/model.go
#	cdc/api/v2/model_test.go
#	pkg/cmd/util/helper_test.go
#	pkg/config/config_test_data.go
#	pkg/config/replica_config.go
#	pkg/config/sink.go
#	pkg/orchestrator/reactor_state_test.go
#	pkg/sink/codec/common/config.go
#	tests/integration_tests/api_v2/cases.go
#	tests/integration_tests/api_v2/model.go
@ti-chi-bot ti-chi-bot bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 6, 2024
@sdojjy
Copy link
Member

sdojjy commented May 6, 2024

/retest-required

@sdojjy
Copy link
Member

sdojjy commented May 7, 2024

/retest-required

@sdojjy
Copy link
Member

sdojjy commented May 7, 2024

/retest-required

1 similar comment
@sdojjy
Copy link
Member

sdojjy commented May 7, 2024

/retest-required

@sdojjy
Copy link
Member

sdojjy commented May 7, 2024

/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 May 7, 2024
Copy link
Contributor

ti-chi-bot bot commented May 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sdojjy

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 the approved label May 8, 2024
@ti-chi-bot ti-chi-bot bot merged commit 6fd9cf2 into pingcap:release-7.5 May 8, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affect-ticdc-config-docs Pull requests that affect TiCDC configuration docs. approved cherry-pick-approved Cherry pick PR approved by release team. lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-7.5 This PR is cherry-picked to release-7.5 from a source PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants