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

*: modify cdc binary to always use new arch client except cdc server #1135

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

wlwilliamx
Copy link
Collaborator

What problem does this PR solve?

Issue Number: close #1134

What is changed and how it works?

Description

This PR ensures that the TiCDC binary always uses the new architecture client. Previously, the binary defaulted to the old architecture client, which could cause errors due to missing configurations when running with the new architecture. Since the new architecture client is fully compatible with the old architecture, using it exclusively avoids these issues while maintaining backward compatibility.

Changes

  • Binary Modification: The TiCDC binary now always uses the new architecture client
  • cdc server Behavior Unchanged: The cdc server command still defaults to the old architecture but allows users to switch to the new architecture using:
    • --newarch or -x flag
    • Setting TICDC_NEWARCH=true
    • Adding newarch: true in the server configuration

This change ensures that users do not encounter compatibility issues when using the new architecture binary while still allowing flexibility in choosing the server architecture.

Check List

Tests

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

Questions

Will it cause performance regression or break compatibility?

No.

Do you need to update user documentation, design documentation or monitoring documentation?

No.

Release note

None

@ti-chi-bot ti-chi-bot bot added the release-note-none Denotes a PR that doesn't merit a release note. label Mar 18, 2025
Copy link

ti-chi-bot bot commented Mar 18, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from wlwilliamx, ensuring that each of them provides their approval before proceeding. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@wlwilliamx wlwilliamx requested a review from lidezhu March 18, 2025 13:18
@ti-chi-bot ti-chi-bot bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use New Architecture Client by Default in TiCDC Binary
2 participants