Skip to content

restore 'vtctl VExec' command (main branch)#9228

Merged
shlomi-noach merged 3 commits intovitessio:mainfrom
planetscale:restore-vexec-main
Nov 17, 2021
Merged

restore 'vtctl VExec' command (main branch)#9228
shlomi-noach merged 3 commits intovitessio:mainfrom
planetscale:restore-vexec-main

Conversation

@shlomi-noach
Copy link
Copy Markdown
Contributor

Description

Fixes #9193
Followup to #8972
Backport PR: #9227

This PR restores vtctl VExec functionality. It was removed based on the assumption the only uses for this command were for Online DDL command. This was wrong, and VExec is also used as a wrapper around VReplication.

For now, we restore the full functionality, although we intend to deprecate use of VExec for Online DDL. See some discussion in #8972

Checklist

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

cc @deepthi @hallaroo @mattlord

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach added Type: Bug Component: Cluster management release notes (needs details) This PR needs to be listed in the release notes in a dedicated section (deprecation notice, etc...) labels Nov 14, 2021
@shlomi-noach shlomi-noach requested a review from deepthi November 14, 2021 10:51
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Looks good.
Can you revert the change to the release notes file and then merge?

Comment on lines -34 to -35
The command `vtctl VExec` is deprecated and removed. All Online DDL commands should run through `vtctl OnlineDDL`.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These are the release notes that shipped with 12.0.0. Since that is out the door we should not change them.
In 12.0.1 we can write new release notes that we are undo-ing the deprecation.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reverted

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach merged commit ba96f95 into vitessio:main Nov 17, 2021
@shlomi-noach shlomi-noach deleted the restore-vexec-main branch November 17, 2021 08:46
@shlomi-noach shlomi-noach added release notes and removed release notes (needs details) This PR needs to be listed in the release notes in a dedicated section (deprecation notice, etc...) labels May 24, 2022
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.

Restore/resurrect vtctl VExec command

2 participants