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

*: Release new owner / processor implementation to release-5.0 #2946

Conversation

asddongmen
Copy link
Contributor

@asddongmen asddongmen commented Sep 27, 2021

What problem does this PR solve?

#2765

Close https://github.com/pingcap/ticdc/pull/2668
Close https://github.com/pingcap/ticdc/pull/2610
Close https://github.com/pingcap/ticdc/pull/2633

Cherry-pick: https://github.com/pingcap/ticdc/pull/2752

What is changed and how it works?

Check List

Tests

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

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation
  • Need to update key monitor metrics in both TiCDC document and official document

Release note

Release new owner and processor implementation to release-5.0.
Highly available model and core modules refactoring.(ref: https://github.com/pingcap/ticdc/pull/1927)

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Sep 27, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • amyangfei
  • overvenus

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 ti-chi-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/cherry-pick-not-approved labels Sep 27, 2021
@ti-chi-bot ti-chi-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. 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 Sep 27, 2021
@asddongmen
Copy link
Contributor Author

/run-all-tests

@asddongmen asddongmen added the component/replica-model Replication model component. label Sep 27, 2021
@asddongmen asddongmen changed the title Turn on new replicate model on release-5.0 *: Release new owner / processor implementation to release-4.0 Sep 27, 2021
@asddongmen asddongmen changed the title *: Release new owner / processor implementation to release-4.0 *: Release new owner / processor implementation to release-5.0 Sep 27, 2021
@asddongmen
Copy link
Contributor Author

/run-all-tests

@ti-chi-bot ti-chi-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 27, 2021
@ti-chi-bot ti-chi-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 27, 2021
@asddongmen
Copy link
Contributor Author

/run-integration-tests

@ti-chi-bot ti-chi-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 27, 2021
@asddongmen
Copy link
Contributor Author

/run-integration-tests

@@ -32,7 +32,7 @@ import (
const (
// NewReplicaImpl is true if we using new processor
// new owner should be also switched on after it implemented
NewReplicaImpl = false
NewReplicaImpl = true
Copy link
Contributor

Choose a reason for hiding this comment

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

we keep the flag mean it is possible will switch back to old one ? if not could delete the flag, make it as the default behaviour ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i wil clean all related codes in another pr after this pr merge.

@ti-chi-bot ti-chi-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 29, 2021
@ti-chi-bot ti-chi-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 8, 2021
@asddongmen
Copy link
Contributor Author

/run-all-tests

@asddongmen asddongmen added status/ptal Could you please take a look? and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Oct 9, 2021
@amyangfei amyangfei added this to the v5.0.5 milestone Oct 11, 2021
@amyangfei
Copy link
Contributor

Please add release note

@ti-chi-bot ti-chi-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Oct 11, 2021
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Oct 11, 2021
@nongfushanquan nongfushanquan added cherry-pick-approved Cherry pick PR approved by release team. and removed do-not-merge/cherry-pick-not-approved labels Oct 11, 2021
@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Oct 11, 2021
@amyangfei
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

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

Commit hash: 0142497

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Oct 11, 2021
@ti-chi-bot
Copy link
Member

@asddongmen: Your PR was out of date, I have automatically updated it for you.

At the same time I will also trigger all tests for you:

/run-all-tests

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@overvenus
Copy link
Member

/run-integration-tests

@ti-chi-bot ti-chi-bot merged commit fdf4b52 into pingcap:release-5.0 Oct 11, 2021
ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Oct 11, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #3014.

asddongmen added a commit that referenced this pull request Oct 26, 2021
#3014)

* This is an automated cherry-pick of #2946

Signed-off-by: ti-chi-bot <[email protected]>

* fix ci error

* fix_integration_error

* tests: fix it error

* tests:fix it error

* tests/move_table: skip kafka sink integration test

Co-authored-by: dongmen <[email protected]>
Co-authored-by: dongmen <[email protected]>
@asddongmen asddongmen deleted the turn_on_new_replicate_model_on_branch5.0 branch November 16, 2021 10:55
@zhouqiang-cl zhouqiang-cl modified the milestones: v5.0.5, v5.0.6 Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-approved Cherry pick PR approved by release team. component/replica-model Replication model component. needs-cherry-pick-release-4.0 Should cherry pick this PR to release-4.0 branch. 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. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. status/ptal Could you please take a look?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants