Skip to content

vtctld: add LookupVindex CLI commands#1197

Merged
nickvanw merged 4 commits intomainfrom
nick/vtctld-cli-lookup-vindex
Feb 25, 2026
Merged

vtctld: add LookupVindex CLI commands#1197
nickvanw merged 4 commits intomainfrom
nick/vtctld-cli-lookup-vindex

Conversation

@nickvanw
Copy link
Contributor

Summary

  • Adds the lookup-vindex subcommand group under pscale branch vtctld
  • Implements create, show, externalize, internalize, cancel, and complete operations
  • All *bool fields use the cmd.Flags().Changed() guard pattern so server defaults are respected when flags aren't explicitly set

Stacked on #1195.

@nickvanw nickvanw requested a review from a team as a code owner February 24, 2026 00:33
@nickvanw nickvanw force-pushed the nick/vtctld-cli-base branch from 4195ce4 to 8172bd9 Compare February 24, 2026 00:36
Add the lookup-vindex subcommand group with create, show,
externalize, internalize, cancel, and complete operations.
These allow managing Lookup Vindex operations on Vitess branches
through the CLI.

Signed-off-by: Nick Van Wiggeren <nick@planetscale.com>
@nickvanw nickvanw force-pushed the nick/vtctld-cli-lookup-vindex branch from 2c021bf to b581ce3 Compare February 24, 2026 00:37
Base automatically changed from nick/vtctld-cli-base to main February 25, 2026 00:12
nickvanw and others added 2 commits February 24, 2026 16:22
Add tests for externalize/internalize/cancel/complete and verify optional bool flags are omitted unless explicitly set. Clarify --delete help text to reflect workflow deletion semantics.
@nickvanw nickvanw merged commit 4704c62 into main Feb 25, 2026
2 checks passed
@nickvanw nickvanw deleted the nick/vtctld-cli-lookup-vindex branch February 25, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants