ChangeTabletType

vtctldclient ChangeTabletType #

Changes the db type for the specified tablet, if possible.

Synopsis #

Changes the db type for the specified tablet, if possible.

This command is used primarily to arrange replicas, and it will not convert a primary. NOTE: This command automatically updates the serving graph.

vtctldclient ChangeTabletType [--dry-run] <alias> <tablet-type>

Options #

  -d, --dry-run   Shows the proposed change without actually executing it.
  -h, --help      help for ChangeTabletType

Options inherited from parent commands #

      --action_timeout duration              timeout to use for the command (default 1h0m0s)
      --andrew-is-testing                    nothing to see here
      --compact                              use compact format for otherwise verbose outputs
      --server string                        server to use for the connection (required)
      --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")

SEE ALSO #

  • vtctldclient - Executes a cluster management command on the remote vtctld server.