Skip to content

vtctl: Allow ALTER VITESS_MIGRATION commands in sharded environment#9458

Merged
deepthi merged 2 commits intovitessio:mainfrom
planetscale:alter-vitess-migration-allow-sharded
Jan 5, 2022
Merged

vtctl: Allow ALTER VITESS_MIGRATION commands in sharded environment#9458
deepthi merged 2 commits intovitessio:mainfrom
planetscale:alter-vitess-migration-allow-sharded

Conversation

@shlomi-noach
Copy link
Copy Markdown
Contributor

Description

Followup to #9303, which added support for ALTER VITESS_MIGRATION in vtctl ApplySchema.

Unfortunately, on sharded keyspaces an internal validation fails the statement. This PR fixes the validation to allow ALTER VITESS_MIGRATION even in sharded (multi-shard) environments.

Related Issue(s)

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Copy link
Copy Markdown
Member

@dbussink dbussink left a comment

Choose a reason for hiding this comment

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

Nice, good to allow these as well then.

… path

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@deepthi deepthi merged commit 587da44 into vitessio:main Jan 5, 2022
@deepthi deepthi deleted the alter-vitess-migration-allow-sharded branch January 5, 2022 18:18
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.

3 participants