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

Online DDL/Vreplication suite: fix test for no shared UK #8334

Merged

Conversation

shlomi-noach
Copy link
Contributor

Description

In this PR we add and fix the test fail-no-shared-uk where the migration fails if there's no exact match between PK columns in before/after tables.

Note that we currently expect both before/after tables to have same set of columns covered by PRIMARY KEY. In the future, we will relax the constraint and allow for any shared non-null UNIQUE KEY.

Related Issue(s)

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

@shlomi-noach shlomi-noach added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Build/CI Component: VReplication Type: CI/Build labels Jun 15, 2021
@shlomi-noach shlomi-noach marked this pull request as draft June 15, 2021 08:38
@shlomi-noach
Copy link
Contributor Author

converting to draft while investigating impact onto another test

@shlomi-noach shlomi-noach marked this pull request as ready for review June 15, 2021 08:59
@shlomi-noach
Copy link
Contributor Author

issue fixed. Ready for review.

@shlomi-noach shlomi-noach requested a review from a team June 23, 2021 07:32
@shlomi-noach
Copy link
Contributor Author

ping for review

@shlomi-noach shlomi-noach merged commit 3dcee65 into vitessio:main Jun 29, 2021
@shlomi-noach shlomi-noach deleted the online-ddl-vrepl-suite-no-shared-uk branch June 29, 2021 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build/CI Component: VReplication Type: CI/Build Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants