Reshard reversetraffic

vtctldclient Reshard reversetraffic

Reverse traffic for a Reshard VReplication workflow.

  1. vtctldclient Reshard reversetraffic

Examples

  1. vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer reversetraffic

Options

  1. -c, --cells strings Cells and/or CellAliases to switch traffic in.
  2. --dry-run Print the actions that would be taken and report any known errors that would have occurred.
  3. --enable-reverse-replication Setup replication going back to the original source keyspace to support rolling back the traffic cutover. (default true)
  4. -h, --help help for reversetraffic
  5. --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this. (default 30s)
  6. --tablet-types strings Tablet types to switch traffic for.
  7. --timeout duration Specifies the maximum time to wait, in seconds, for VReplication to catch up on primary tablets. The traffic switch will be cancelled on timeout. (default 30s)

Options inherited from parent commands

  1. --action_timeout duration timeout to use for the command (default 1h0m0s)
  2. --compact use compact format for otherwise verbose outputs
  3. --format string The format of the output; supported formats are: text,json. (default "text")
  4. --server string server to use for the connection (required)
  5. --target-keyspace string Target keyspace for this workflow.
  6. -w, --workflow string The workflow you want to perform the command on.

SEE ALSO