-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: unsupporting gh-ost
DDL strategy
#15693
Conversation
Signed-off-by: Shlomi Noach <[email protected]>
…tests with 'vitess' strategy Signed-off-by: Shlomi Noach <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Docs PR: vitessio/website#1725 |
ghostOverridePath string | ||
ptOSCOverridePath string | ||
ghostBinaryPath = "/usr/bin/gh-ost" | ||
ptOSCBinaryPath = "/usr/bin/pt-online-schema-change" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be worth to make this work if it's available in $PATH
instead of having a hardcoded path? Would that already work out of the box if we just set these values to "gh-ost"
and "pt-online-schema-change"
?
Looking at the template below, that might already just work then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pt-online-schema-change
remains on /usr/bin
as this was the previous behavior. Not changing it, will just remove it when the time comes.
Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Shlomi Noach <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15693 +/- ##
==========================================
+ Coverage 68.38% 68.40% +0.02%
==========================================
Files 1556 1556
Lines 195120 195111 -9
==========================================
+ Hits 133427 133466 +39
+ Misses 61693 61645 -48 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We need to update a couple of test output files now. I'll push a quick commit for that to save you the CI time when you're ready to merge.
Signed-off-by: Matt Lord <[email protected]>
@mattlord thank you! |
Description
See #15692
This PR:
gh-ost
binary fromvttablet
(the user will have to supply their owngh-ost
binary, and unless it's/usr/bin/gh-ost
they will have to runvttablet --gh-ost-path
)onlineddl_ghost
endtoend tests, and replacesgh-ost
strategy tests withvitess
strategy in any other tests.With that, we turn
gh-ost
to be unsupported. Otherwisegh-ost
strategy still works.Related Issue(s)
gh-ost
andpt-osc
Online DDL strategies #15692gh-ost
website#1725Checklist
Deployment Notes