Skip to content

Feature Request: support per shard start/stop in the MoveTables and Reshard subcommands #18949

@mcrauwel

Description

@mcrauwel

Feature Description

Currently per shard start/stop of a workflow is supported in the Workflow subcommand but not in the MoveTables or Reshard subcommands this is confusing.

# vtctldclient Workflow start --help
Start a VReplication workflow.

Usage:
  vtctldclient Workflow start

Aliases:
  start, Start

Examples:
vtctldclient --server localhost:15999 workflow --keyspace customer start --workflow commerce2customer

Flags:
  -h, --help              help for start
      --shards strings    (Optional) Specifies a comma-separated list of shards to operate on.
  -w, --workflow string   The workflow you want to start.

vs

# vtctldclient MoveTables start --help
Start a MoveTables workflow.

Usage:
  vtctldclient MoveTables start

Aliases:
  start, Start

Examples:
vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer start

Flags:
  -h, --help   help for start

or

# vtctldclient Reshard start --help
Start a Reshard workflow.

Usage:
  vtctldclient Reshard start

Aliases:
  start, Start

Examples:
vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer start

Flags:
  -h, --help   help for start

Use Case(s)

n/a

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions