MoveTables cancel

vtctldclient MoveTables cancel #

Cancel a MoveTables VReplication workflow.

vtctldclient MoveTables cancel

Examples #

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

Options #

      --delete-batch-size int    When cleaning up the migrated data in tables moved as part of a multi-tenant workflow, delete the records in batches of this size. (default 1000)
  -h, --help                     help for cancel
      --ignore-source-keyspace   WARNING: This option should only be used when absolutely necessary. Ignore the source keyspace as the workflow is canceled and cleaned up. This allows the workflow to be canceled if the source keyspace has been deleted or is not currently available.
      --keep-data                Keep the partially copied table data from the MoveTables workflow in the target keyspace.
      --keep-routing-rules       Keep the routing rules created for the MoveTables workflow.
      --shards strings           (Optional) Specifies a comma-separated list of shards to operate on.

Options inherited from parent commands #

      --action_timeout duration              timeout to use for the command (default 1h0m0s)
      --compact                              use compact format for otherwise verbose outputs
      --format string                        The format of the output; supported formats are: text,json. (default "text")
      --server string                        server to use for the connection (required)
      --target-keyspace string               Target keyspace for this workflow.
      --topo-global-root string              the path of the global topology data in the global topology server (default "/vitess/global")
      --topo-global-server-address strings   the address of the global topology server(s) (default [localhost:2379])
      --topo-implementation string           the topology implementation to use (default "etcd2")
  -w, --workflow string                      The workflow you want to perform the command on.

SEE ALSO #