diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_create.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_create.md index 85bdd2c70..2f0a071f5 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_create.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_create.md @@ -25,6 +25,7 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- --defer-secondary-keys Defer secondary index creation for a table until after it has been copied --exclude-tables strings Source tables to exclude from copying -h, --help help for create + --no-routing-rules (Advanced) Do not create routing rules while creating the workflow. See the reference documentation for limitations if you use this flag. --on-ddl string What to do when DDL is encountered in the VReplication stream. Possible values are IGNORE, STOP, EXEC, and EXEC_IGNORE (default "IGNORE") --source-keyspace string Keyspace where the tables are being moved from (required) --source-shards strings Source shards to copy data from when performing a partial MoveTables (experimental) diff --git a/content/en/docs/18.0/reference/vreplication/movetables.md b/content/en/docs/18.0/reference/vreplication/movetables.md index 768af7dcc..865e73ed0 100644 --- a/content/en/docs/18.0/reference/vreplication/movetables.md +++ b/content/en/docs/18.0/reference/vreplication/movetables.md @@ -21,7 +21,7 @@ MoveTables -- [--source=] [--tables=] [--cells=] [--tablet_types=] [--all] [--exclude=] [--auto_start] [--stop_after_copy] [--timeout=timeoutDuration] [--reverse_replication] [--keep_data] [--keep_routing_rules] [--on-ddl=] [--source_time_zone=] - [--initialize-target-sequences] + [--initialize-target-sequences] [--no-routing-rules] ``` @@ -290,6 +290,17 @@ We caution against against using `EXEC` or `EXEC_IGNORE` for the following reaso +#### --no-routing-rules +**optional**\ +**default** false + +
+Do not create routing rules for the tables being moved when the workflow is created. This implies that you should +not use global routing or send traffic to the target keyspace through a vtgate. +See https://github.com/vitessio/vitess/pull/13895 and https://github.com/vitessio/vitess/issues/13851 for a use-case +and more details. +
+ #### --rename_tables **optional**\ **default** false