-
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
ApplySchema: deprecate '--allow_long_unavailability' flag #10717
Merged
shlomi-noach
merged 26 commits into
vitessio:main
from
planetscale:apply-schema-deprecate-big-changes
Jul 13, 2023
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6f57d7b
ApplySchema: deprecate '--allow_long_unavailability' flag
shlomi-noach 4929201
simplify parseDDLs(), use in Validate
shlomi-noach 9010723
Merge branch 'main' into apply-schema-deprecate-big-changes
shlomi-noach 08d07dc
Merge branch 'main' into apply-schema-deprecate-big-changes
shlomi-noach d9c4598
warn if --allow_long_unavailability is provided
shlomi-noach e72d14d
remove --allow_long_unavailability from usage message
shlomi-noach b44829f
ALTER should not FAIL in test
shlomi-noach 436c9fc
Merge branch 'main' into apply-schema-deprecate-big-changes
shlomi-noach 213c671
formally deprecate flag; fix typo; fix usage
shlomi-noach 18da45f
merge main, resolve conflict
shlomi-noach d52f24b
merge main, resolve conflict
shlomi-noach c1628e0
fix merge
shlomi-noach 3e2f944
Merge branch 'main' into apply-schema-deprecate-big-changes
shlomi-noach 6832693
removed allow_long_unavailability from proto
shlomi-noach 9434bb3
removed allow_long_unavailability from proto
shlomi-noach 557a336
remove AllowLongUnavailability field
shlomi-noach 0212ae3
remove test testing deprecated code
shlomi-noach d3b7706
resolved conflict
shlomi-noach 1d8e373
remove deprecation message
shlomi-noach 7e6cc03
use vterrors.Errorf
shlomi-noach 47f4312
mark flag as deprecated
shlomi-noach e22e6dc
Merge branch 'main' into apply-schema-deprecate-big-changes
shlomi-noach 3954302
Merge branch 'apply-schema-deprecate-big-changes' of github.com:plane…
shlomi-noach d7277b8
resolved conflict
shlomi-noach 4831f76
Merge branch 'main' into apply-schema-deprecate-big-changes
shlomi-noach 24438e9
resolved conflict
shlomi-noach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Are we deprecating it or removing it? The title says deprecate but this is effectively removal isn't it, since any value provided by the user will be ignored. No?
Or maybe it's simply no longer needed so we're keeping the flag around and marking it as deprecated so that it gives users a release to remove the flag in their scripts etc? I will assume that is the case (the description also seems to be saying this).
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.
That's the one. We remove the functionality, but keep the flag so that
vttablet
execution does not break yet.