The Wayback Machine - https://web.archive.org/web/20201121003931/https://github.com/github/gh-ost/pull/723
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

Always use NO_AUTO_VALUE_ON_ZERO #723

Merged
merged 5 commits into from Jun 10, 2019
Merged

Always use NO_AUTO_VALUE_ON_ZERO #723

merged 5 commits into from Jun 10, 2019

Conversation

@shlomi-noach
Copy link
Contributor

@shlomi-noach shlomi-noach commented Mar 24, 2019

Fixes #722

gh-ost should always use NO_AUTO_VALUE_ON_ZERO because the values it reads are inherently absolutely true, and it should not convert zero auto_increment values into other values.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing Mar 24, 2019 Inactive
@shlomi-noach
Copy link
Contributor Author

@shlomi-noach shlomi-noach commented Apr 2, 2019

Sent to testing

Shlomi Noach
@shlomi-noach shlomi-noach requested a review from ggunson Apr 8, 2019
@shlomi-noach
Copy link
Contributor Author

@shlomi-noach shlomi-noach commented Apr 8, 2019

This seems good in testing. @ggunson could you please review the conjecture that adding NO_AUTO_VALUE_ON_ZERO to gh-ost's sql_mode is always the correct thing to do?

Shlomi Noach added 2 commits May 16, 2019
Shlomi Noach
Shlomi Noach
@shlomi-noach
Copy link
Contributor Author

@shlomi-noach shlomi-noach commented Jun 10, 2019

This went under extensive testing. Merging shortly.

@shlomi-noach shlomi-noach merged commit 8113d38 into master Jun 10, 2019
4 checks passed
4 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
gh-ost-build-deploy-tarball Build #17662483 succeeded in 12s
Details
gh-ost-replica-tests Build #17662537 succeeded in 1054s
Details
@shlomi-noach shlomi-noach deleted the no-auto-value-on-zero branch Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant
You can’t perform that action at this time.