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

Add table restriction check to changefeed #367

Closed
amyangfei opened this issue Mar 23, 2020 · 1 comment
Closed

Add table restriction check to changefeed #367

amyangfei opened this issue Mar 23, 2020 · 1 comment
Assignees
Labels
priority/P0 The issue has P0 priority. subject/usability Denotes an issue or pull request is related to usability.

Comments

@amyangfei
Copy link
Contributor

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.
@amyangfei amyangfei added priority/P0 The issue has P0 priority. subject/usability Denotes an issue or pull request is related to usability. labels Mar 23, 2020
@zier-one zier-one self-assigned this Mar 23, 2020
@amyangfei
Copy link
Contributor Author

solved in #368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/P0 The issue has P0 priority. subject/usability Denotes an issue or pull request is related to usability.
Projects
None yet
Development

No branches or pull requests

2 participants