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: reject non utf8* charsets #8278

Merged

Conversation

shlomi-noach
Copy link
Contributor

@shlomi-noach shlomi-noach commented Jun 7, 2021

Description

Right now Vitess only supports utf8* characters sets, per https://vitess.io/docs/reference/compatibility/mysql-compatibility/#character-set-and-collation

While schemas pass through, schema changes with non utf8* charsets will not work in VReplication. For this reason, we rejects changes where tables have non utf8* textual columns. This PR imports and modifies a online DDL/VReplication suite test, from the gh-ost suite.

Will possibly try to fix that in VReplication later on.

Related Issue(s)

#8181

Checklist

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

Deployment Notes

@shlomi-noach shlomi-noach marked this pull request as draft June 9, 2021 06:20
@shlomi-noach
Copy link
Contributor Author

This is not ready yet

@shlomi-noach
Copy link
Contributor Author

I'm actually working to make non-utf8 work. Only blocker right now is conversion (modify column) from non-utf to utf column

@shlomi-noach shlomi-noach merged commit 9e66dfe into vitessio:main Jun 16, 2021
@shlomi-noach shlomi-noach deleted the online-ddl-vrepl-suite-non-utf8 branch June 16, 2021 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant