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

Improve my.cnf files #4999

Merged
merged 2 commits into from
Jul 20, 2019
Merged

Conversation

morgo
Copy link
Contributor

@morgo morgo commented Jul 15, 2019

This addresses some of the easiest suggestions in #4990.

Because this config file is used by multiple versions of MySQL, not all changes are possible. After #4987 merges, the settings only required by MySQL 5.6 (such as sql_mode) can be moved to a separate file and further cleanup is possible.

I will add future improvements in followup PRs, after splitting config file per version.

Signed-off-by: Morgan Tocker tocker@gmail.com

Partially addresses vitessio#4990

Signed-off-by: Morgan Tocker <tocker@gmail.com>
…figs2

Signed-off-by: Morgan Tocker <tocker@gmail.com>
Copy link
Contributor

@dkhenry dkhenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sougou sougou merged commit f305fb6 into vitessio:master Jul 20, 2019
@morgo morgo deleted the morgo-improve-configs2 branch July 20, 2019 04:18
@derekperkins
Copy link
Member

FWIW, this broke some of my 8.0 tablets, specifically removing
innodb_data_file_path = ibdata1:10M:autoextend

I had tablets that were initialized with this flag, then when it was removed on startup and defaulted to 12M, I got into an infinite loop where mysql would exit because the file was an incompatible size, and vttablet kept restoring the old file when I tried to delete it. That doesn't mean this should be rolled back, but it took me a long time to track this down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants