Workflow update

vtctldclient Workflow update

Update the configuration parameters for a VReplication workflow.

1. vtctldclient Workflow update

Examples

1. vtctldclient --server localhost:15999 workflow --keyspace customer update --workflow commerce2customer --cells zone1 --cells zone2 -c "zone3,zone4" -c zone5

Options

1. -c, --cells strings           New Cell(s) or CellAlias(es) (comma-separated) to replicate from.
2. -h, --help                    help for update
3. --on-ddl string           New instruction on what to do when DDL is encountered in the VReplication stream. Possible values are IGNORE, STOP, EXEC, and EXEC_IGNORE.
4. -t, --tablet-types strings    New source tablet types to replicate from (e.g. PRIMARY,REPLICA,RDONLY).
5. --tablet-types-in-order   When performing source tablet selection, look for candidates in the type order as they are listed in the tablet-types flag. (default true)
6. -w, --workflow string         The workflow you want to update.

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. -k, --keyspace string           Keyspace context for the workflow.
4. --server string             server to use for the connection (required)

SEE ALSO

  • vtctldclient Workflow - Administer VReplication workflows (Reshard, MoveTables, etc) in the given keyspace.