Skip to content

Add table restriction check to changefeed #367

Closed
@amyangfei

Description

Feature Request

Is your feature request related to a problem? Please describe:

TiCDC can only replicate table that meets the following restrictions

  • either have a PRIMARY KEY
  • or have a UNIQUE KEY and each column in the UNIQUE KEY is declared with NOT NULL

Describe the feature you'd like:

  • We should provide a library to check whether a table meets the restriction.
  • And when a user creates a new changefeed, show warnings for each table that the changefeed should replicate it, but doesn't meet the reaplication restricion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

priority/P0The issue has P0 priority.subject/usabilityDenotes an issue or pull request is related to usability.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions