MoveTables complete

vtctldclient MoveTables complete #

Complete a MoveTables VReplication workflow.

vtctldclient MoveTables complete

Examples #

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

Options #

      --dry-run                  Print the actions that would be taken and report any known errors that would have occurred.
  -h, --help                     help for complete
      --ignore-source-keyspace   WARNING: This option should only be used when absolutely necessary. Ignore the source keyspace as the workflow is completed and cleaned up. This allows the workflow to be completed if the source keyspace has been deleted or is not currently available.
      --keep-data                Keep the original source table data that was copied by the MoveTables workflow.
      --keep-routing-rules       Keep the routing rules in place that direct table traffic from the source keyspace to the target keyspace of the MoveTables workflow.
      --rename-tables            Keep the original source table data that was copied by the MoveTables workflow, but rename each table to '_<tablename>_old'.
      --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 #