diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/_index.md b/content/en/docs/18.0/reference/programs/vtctldclient/_index.md index d0d82c07c..446bbe79f 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/_index.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/_index.md @@ -81,6 +81,7 @@ vtctldclient [flags] * [vtctldclient RemoveKeyspaceCell](./vtctldclient_removekeyspacecell/) - Removes the specified cell from the Cells list for all shards in the specified keyspace (by calling RemoveShardCell on every shard). It also removes the SrvKeyspace for that keyspace in that cell. * [vtctldclient RemoveShardCell](./vtctldclient_removeshardcell/) - Remove the specified cell from the specified shard's Cells list. * [vtctldclient ReparentTablet](./vtctldclient_reparenttablet/) - Reparent a tablet to the current primary in the shard. +* [vtctldclient Reshard](./vtctldclient_reshard/) - Perform commands related to resharding a keyspace. * [vtctldclient RestoreFromBackup](./vtctldclient_restorefrombackup/) - Stops mysqld on the specified tablet and restores the data from either the latest backup or closest before `backup-timestamp`. * [vtctldclient RunHealthCheck](./vtctldclient_runhealthcheck/) - Runs a healthcheck on the remote tablet. * [vtctldclient SetKeyspaceDurabilityPolicy](./vtctldclient_setkeyspacedurabilitypolicy/) - Sets the durability-policy used by the specified keyspace. diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/_index.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/_index.md index 73dfa1791..3e382b40a 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/_index.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/_index.md @@ -8,16 +8,16 @@ Perform commands related to moving tables from a source keyspace to a target key ### Synopsis -MoveTables commands: Create, Show, Status, SwitchTraffic, ReverseTraffic, Stop, Start, Cancel, and Delete. +moveTables commands: Create, Show, Status, SwitchTraffic, ReverseTraffic, Stop, Start, Cancel, and Delete. See the --help output for each command for more details. ### Options ``` - --format string The format of the output; supported formats are: text,json (default "text") + --format string The format of the output; supported formats are: text,json. (default "text") -h, --help help for MoveTables - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) - -w, --workflow string The workflow you want to perform the command on (required) + --target-keyspace string Target keyspace for this workflow exists (required). + -w, --workflow string The workflow you want to perform the command on (required). ``` ### Options inherited from parent commands @@ -32,10 +32,10 @@ See the --help output for each command for more details. * [vtctldclient](../) - Executes a cluster management command on the remote vtctld server. * [vtctldclient MoveTables cancel](./vtctldclient_movetables_cancel/) - Cancel a MoveTables VReplication workflow. * [vtctldclient MoveTables complete](./vtctldclient_movetables_complete/) - Complete a MoveTables VReplication workflow. -* [vtctldclient MoveTables create](./vtctldclient_movetables_create/) - Create and optionally run a MoveTables VReplication workflow. +* [vtctldclient MoveTables create](./vtctldclient_movetables_create/) - Create and optionally run a moveTables VReplication workflow. * [vtctldclient MoveTables reversetraffic](./vtctldclient_movetables_reversetraffic/) - Reverse traffic for a MoveTables VReplication workflow. * [vtctldclient MoveTables show](./vtctldclient_movetables_show/) - Show the details for a MoveTables VReplication workflow. -* [vtctldclient MoveTables start](./vtctldclient_movetables_start/) - Start the MoveTables workflow. +* [vtctldclient MoveTables start](./vtctldclient_movetables_start/) - Start a MoveTables workflow. * [vtctldclient MoveTables status](./vtctldclient_movetables_status/) - Show the current status for a MoveTables VReplication workflow. * [vtctldclient MoveTables stop](./vtctldclient_movetables_stop/) - Stop a MoveTables workflow. * [vtctldclient MoveTables switchtraffic](./vtctldclient_movetables_switchtraffic/) - Switch traffic for a MoveTables VReplication workflow. diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_cancel.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_cancel.md index 92962ae16..ba89c0d85 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_cancel.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_cancel.md @@ -13,15 +13,13 @@ vtctldclient MoveTables cancel ### Examples ``` -vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer cancel +vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer cancel ``` ### Options ``` - -h, --help help for cancel - --keep-data Keep the partially copied table data from the MoveTables workflow in the target keyspace - --keep-routing-rules Keep the routing rules created for the MoveTables workflow + -h, --help help for cancel ``` ### Options inherited from parent commands @@ -29,7 +27,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_complete.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_complete.md index cbc708191..288fd8649 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_complete.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_complete.md @@ -19,11 +19,7 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ### Options ``` - --dry-run Print the actions that would be taken and report any known errors that would have occurred - -h, --help help for complete - --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 '__old' + -h, --help help for complete ``` ### Options inherited from parent commands @@ -31,7 +27,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO 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 2f0a071f5..08014bd81 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 @@ -4,7 +4,7 @@ series: vtctldclient --- ## vtctldclient MoveTables create -Create and optionally run a MoveTables VReplication workflow. +Create and optionally run a moveTables VReplication workflow. ``` vtctldclient MoveTables create @@ -19,21 +19,22 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ### Options ``` - --all-tables Copy all tables from the source - --auto-start Start the MoveTables workflow after creating it (default true) - -c, --cells strings Cells and/or CellAliases to copy table data from - --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 + --all-tables Copy all tables from the source. + --atomic-copy (EXPERIMENTAL) A single copy phase is run for all tables from the source. Use this, for example, if your source keyspace has tables which use foreign key constraints. + --auto-start Start the MoveTables workflow after creating it. (default true) + -c, --cells strings Cells and/or CellAliases to copy table data from. + --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) - --source-time-zone string Specifying this causes any DATETIME fields to be converted from the given time zone into UTC - --stop-after-copy Stop the MoveTables workflow after it's finished copying the existing rows and before it starts replicating changes - --tables strings Source tables to copy - --tablet-types strings Source tablet types to replicate table data from (e.g. PRIMARY,REPLICA,RDONLY) - --tablet-types-in-preference-order When performing source tablet selection, look for candidates in the type order as they are listed in the tablet-types flag (default true) + --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). + --source-time-zone string Specifying this causes any DATETIME fields to be converted from the given time zone into UTC. + --stop-after-copy Stop the MoveTables workflow after it's finished copying the existing rows and before it starts replicating changes. + --tables strings Source tables to copy. + --tablet-types strings Source tablet types to replicate table data from (e.g. PRIMARY,REPLICA,RDONLY). + --tablet-types-in-preference-order When performing source tablet selection, look for candidates in the type order as they are listed in the tablet-types flag. (default true) ``` ### Options inherited from parent commands @@ -41,7 +42,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_reversetraffic.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_reversetraffic.md index 02787b0d7..5a9817e18 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_reversetraffic.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_reversetraffic.md @@ -13,18 +13,18 @@ vtctldclient MoveTables reversetraffic ### Examples ``` -vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer reversetraffic +vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer reversetraffic ``` ### Options ``` - -c, --cells strings Cells and/or CellAliases to switch traffic in - --dry-run Print the actions that would be taken and report any known errors that would have occurred - --enable-reverse-replication Setup replication going back to the original target keyspace to support switching traffic again (default true) + -c, --cells strings Cells and/or CellAliases to switch traffic in. + --dry-run Print the actions that would be taken and report any known errors that would have occurred. + --enable-reverse-replication Setup replication going back to the original source keyspace to support rolling back the traffic cutover. (default true) -h, --help help for reversetraffic - --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this (default 30s) - --tablet-types strings Tablet types to switch traffic for + --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this. (default 30s) + --tablet-types strings Tablet types to switch traffic for. --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) ``` @@ -33,7 +33,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_show.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_show.md index 2f6598cbc..d5dd426fb 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_show.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_show.md @@ -13,7 +13,7 @@ vtctldclient MoveTables show ### Examples ``` -vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer show +vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer show ``` ### Options @@ -27,7 +27,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_start.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_start.md index 139ef73ee..93e85b4f7 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_start.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_start.md @@ -4,7 +4,7 @@ series: vtctldclient --- ## vtctldclient MoveTables start -Start the MoveTables workflow. +Start a MoveTables workflow. ``` vtctldclient MoveTables start @@ -13,7 +13,7 @@ vtctldclient MoveTables start ### Examples ``` -vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer start +vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer start ``` ### Options @@ -27,7 +27,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_status.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_status.md index e94b350fb..0f0bfa7aa 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_status.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_status.md @@ -27,7 +27,6 @@ vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_stop.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_stop.md index 9dfff8b29..633cf5670 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_stop.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_stop.md @@ -13,7 +13,7 @@ vtctldclient MoveTables stop ### Examples ``` -vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer stop +vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer stop ``` ### Options @@ -27,7 +27,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_switchtraffic.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_switchtraffic.md index 0825ad539..99bf77506 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_switchtraffic.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_MoveTables/vtctldclient_MoveTables_switchtraffic.md @@ -13,19 +13,19 @@ vtctldclient MoveTables switchtraffic ### Examples ``` -vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer switchtraffic --tablet-types "replica,rdonly" +vtctldclient --server localhost:15999 MoveTables --workflow commerce2customer --target-keyspace customer switchtraffic --tablet-types "replica,rdonly" ``` ### Options ``` - -c, --cells strings Cells and/or CellAliases to switch traffic in - --dry-run Print the actions that would be taken and report any known errors that would have occurred - --enable-reverse-replication Setup replication going back to the original source keyspace to support rolling back the traffic cutover (default true) + -c, --cells strings Cells and/or CellAliases to switch traffic in. + --dry-run Print the actions that would be taken and report any known errors that would have occurred. + --enable-reverse-replication Setup replication going back to the original source keyspace to support rolling back the traffic cutover. (default true) -h, --help help for switchtraffic --initialize-target-sequences When moving tables from an unsharded keyspace to a sharded keyspace, initialize any sequences that are being used on the target when switching writes. - --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this (default 30s) - --tablet-types strings Tablet types to switch traffic for + --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this. (default 30s) + --tablet-types strings Tablet types to switch traffic for. --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) ``` @@ -34,7 +34,6 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer -- ``` --action_timeout duration timeout for the total command (default 1h0m0s) --server string server to use for connection (required) - --target-keyspace string Keyspace where the tables are being moved to and where the workflow exists (required) ``` ### SEE ALSO diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/_index.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/_index.md index bc7f7e013..3bb372295 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/_index.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/_index.md @@ -22,10 +22,10 @@ Operates on online DDL (schema migrations). ### SEE ALSO * [vtctldclient](../) - Executes a cluster management command on the remote vtctld server. -* [vtctldclient OnlineDDL cancel](./vtctldclient_onlineddl_cancel/) - Cancel one or all pending migrations, terminating any actively running ones. +* [vtctldclient OnlineDDL cancel](./vtctldclient_onlineddl_cancel/) - cancel one or all migrations, terminating any running ones as needed. * [vtctldclient OnlineDDL cleanup](./vtctldclient_onlineddl_cleanup/) - Mark a given schema migration ready for artifact cleanup. -* [vtctldclient OnlineDDL complete](./vtctldclient_onlineddl_complete/) - Complete one or all migrations executed with `--postpone-completion`. -* [vtctldclient OnlineDDL launch](./vtctldclient_onlineddl_launch/) - Launch one or all migrations executed with `--postpone-launch`. +* [vtctldclient OnlineDDL complete](./vtctldclient_onlineddl_complete/) - complete one or all migrations executed with --postpone-completion +* [vtctldclient OnlineDDL launch](./vtctldclient_onlineddl_launch/) - launch one or all migrations executed with --postpone-launch * [vtctldclient OnlineDDL retry](./vtctldclient_onlineddl_retry/) - Mark a given schema migration for retry. * [vtctldclient OnlineDDL show](./vtctldclient_onlineddl_show/) - Display information about online DDL operations. diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_cancel.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_cancel.md index bf3be78f1..407589f96 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_cancel.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_cancel.md @@ -4,7 +4,7 @@ series: vtctldclient --- ## vtctldclient OnlineDDL cancel -Cancel one or all pending migrations, terminating any actively running ones. +cancel one or all migrations, terminating any running ones as needed. ``` vtctldclient OnlineDDL cancel @@ -14,7 +14,6 @@ vtctldclient OnlineDDL cancel ``` OnlineDDL cancel test_keyspace 82fa54ac_e83e_11ea_96b7_f875a4d24e90 -OnlineDDL cancel test_keyspace all ``` ### Options diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_complete.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_complete.md index 4a447d75f..0bf8da583 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_complete.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_complete.md @@ -4,7 +4,7 @@ series: vtctldclient --- ## vtctldclient OnlineDDL complete -Complete one or all migrations executed with `--postpone-completion`. +complete one or all migrations executed with --postpone-completion ``` vtctldclient OnlineDDL complete @@ -14,7 +14,6 @@ vtctldclient OnlineDDL complete ``` OnlineDDL complete test_keyspace 82fa54ac_e83e_11ea_96b7_f875a4d24e90 -OnlineDDL complete test_keyspace all ``` ### Options diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_launch.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_launch.md index 3529ec063..f9e4d5b09 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_launch.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_OnlineDDL/vtctldclient_OnlineDDL_launch.md @@ -4,7 +4,7 @@ series: vtctldclient --- ## vtctldclient OnlineDDL launch -Launch one or all migrations executed with `--postpone-launch`. +launch one or all migrations executed with --postpone-launch ``` vtctldclient OnlineDDL launch @@ -14,7 +14,6 @@ vtctldclient OnlineDDL launch ``` OnlineDDL launch test_keyspace 82fa54ac_e83e_11ea_96b7_f875a4d24e90 -OnlineDDL launch test_keyspace all ``` ### Options diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/_index.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/_index.md new file mode 100644 index 000000000..e84d14960 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/_index.md @@ -0,0 +1,42 @@ +--- +title: Reshard +series: vtctldclient +--- +## vtctldclient Reshard + +Perform commands related to resharding a keyspace. + +### Synopsis + +Reshard commands: Create, Show, Status, SwitchTraffic, ReverseTraffic, Stop, Start, Cancel, and Delete. +See the --help output for each command for more details. + +### Options + +``` + --format string The format of the output; supported formats are: text,json. (default "text") + -h, --help help for Reshard + --target-keyspace string Target keyspace for this workflow exists (required). + -w, --workflow string The workflow you want to perform the command on (required). +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient](../) - Executes a cluster management command on the remote vtctld server. +* [vtctldclient Reshard cancel](./vtctldclient_reshard_cancel/) - Cancel a Reshard VReplication workflow. +* [vtctldclient Reshard complete](./vtctldclient_reshard_complete/) - Complete a MoveTables VReplication workflow. +* [vtctldclient Reshard create](./vtctldclient_reshard_create/) - Create and optionally run a reshard VReplication workflow. +* [vtctldclient Reshard reversetraffic](./vtctldclient_reshard_reversetraffic/) - Reverse traffic for a Reshard VReplication workflow. +* [vtctldclient Reshard show](./vtctldclient_reshard_show/) - Show the details for a Reshard VReplication workflow. +* [vtctldclient Reshard start](./vtctldclient_reshard_start/) - Start a Reshard workflow. +* [vtctldclient Reshard status](./vtctldclient_reshard_status/) - Show the current status for a Reshard VReplication workflow. +* [vtctldclient Reshard stop](./vtctldclient_reshard_stop/) - Stop a Reshard workflow. +* [vtctldclient Reshard switchtraffic](./vtctldclient_reshard_switchtraffic/) - Switch traffic for a Reshard VReplication workflow. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Cancel.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Cancel.md new file mode 100644 index 000000000..c51744db9 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Cancel.md @@ -0,0 +1,35 @@ +--- +title: Reshard cancel +series: vtctldclient +--- +## vtctldclient Reshard cancel + +Cancel a Reshard VReplication workflow. + +``` +vtctldclient Reshard cancel +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer cancel +``` + +### Options + +``` + -h, --help help for cancel +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Complete.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Complete.md new file mode 100644 index 000000000..708693a35 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Complete.md @@ -0,0 +1,35 @@ +--- +title: Reshard complete +series: vtctldclient +--- +## vtctldclient Reshard complete + +Complete a MoveTables VReplication workflow. + +``` +vtctldclient Reshard complete +``` + +### Examples + +``` +vtctldclient --server localhost:15999 movetables --workflow commerce2customer --target-keyspace customer complete +``` + +### Options + +``` + -h, --help help for complete +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Create.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Create.md new file mode 100644 index 000000000..7101b950e --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Create.md @@ -0,0 +1,45 @@ +--- +title: Reshard create +series: vtctldclient +--- +## vtctldclient Reshard create + +Create and optionally run a reshard VReplication workflow. + +``` +vtctldclient Reshard create +``` + +### Examples + +``` +vtctldclient --server localhost:15999 reshard --workflow customer2customer --target-keyspace customer create --source_shards="0" --target_shards="-80,80-" --cells zone1 --cells zone2 --tablet-types replica +``` + +### Options + +``` + --auto-start Start the MoveTables workflow after creating it. (default true) + -c, --cells strings Cells and/or CellAliases to copy table data from. + --defer-secondary-keys Defer secondary index creation for a table until after it has been copied. + -h, --help help for create + --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") + --skip-schema-copy Skip copying the schema from the source shards to the target shards. + --source-shards strings Source shards. + --stop-after-copy Stop the MoveTables workflow after it's finished copying the existing rows and before it starts replicating changes. + --tablet-types strings Source tablet types to replicate table data from (e.g. PRIMARY,REPLICA,RDONLY). + --tablet-types-in-preference-order When performing source tablet selection, look for candidates in the type order as they are listed in the tablet-types flag. (default true) + --target-shards strings Target shards. +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_ReverseTraffic.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_ReverseTraffic.md new file mode 100644 index 000000000..999c39f86 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_ReverseTraffic.md @@ -0,0 +1,41 @@ +--- +title: Reshard reversetraffic +series: vtctldclient +--- +## vtctldclient Reshard reversetraffic + +Reverse traffic for a Reshard VReplication workflow. + +``` +vtctldclient Reshard reversetraffic +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer reversetraffic +``` + +### Options + +``` + -c, --cells strings Cells and/or CellAliases to switch traffic in. + --dry-run Print the actions that would be taken and report any known errors that would have occurred. + --enable-reverse-replication Setup replication going back to the original source keyspace to support rolling back the traffic cutover. (default true) + -h, --help help for reversetraffic + --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this. (default 30s) + --tablet-types strings Tablet types to switch traffic for. + --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 + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Show.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Show.md new file mode 100644 index 000000000..69345b2f6 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Show.md @@ -0,0 +1,35 @@ +--- +title: Reshard show +series: vtctldclient +--- +## vtctldclient Reshard show + +Show the details for a Reshard VReplication workflow. + +``` +vtctldclient Reshard show +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer show +``` + +### Options + +``` + -h, --help help for show +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Start.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Start.md new file mode 100644 index 000000000..8cd6a4ca7 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Start.md @@ -0,0 +1,35 @@ +--- +title: Reshard start +series: vtctldclient +--- +## vtctldclient Reshard start + +Start a Reshard workflow. + +``` +vtctldclient Reshard start +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer start +``` + +### Options + +``` + -h, --help help for start +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Status.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Status.md new file mode 100644 index 000000000..911d64ef2 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Status.md @@ -0,0 +1,35 @@ +--- +title: Reshard status +series: vtctldclient +--- +## vtctldclient Reshard status + +Show the current status for a Reshard VReplication workflow. + +``` +vtctldclient Reshard status +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer status +``` + +### Options + +``` + -h, --help help for status +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Stop.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Stop.md new file mode 100644 index 000000000..9c73a8355 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_Stop.md @@ -0,0 +1,35 @@ +--- +title: Reshard stop +series: vtctldclient +--- +## vtctldclient Reshard stop + +Stop a Reshard workflow. + +``` +vtctldclient Reshard stop +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer stop +``` + +### Options + +``` + -h, --help help for stop +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_SwitchTraffic.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_SwitchTraffic.md new file mode 100644 index 000000000..ad6ec23b2 --- /dev/null +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Reshard/vtctldclient_Reshard_SwitchTraffic.md @@ -0,0 +1,41 @@ +--- +title: Reshard switchtraffic +series: vtctldclient +--- +## vtctldclient Reshard switchtraffic + +Switch traffic for a Reshard VReplication workflow. + +``` +vtctldclient Reshard switchtraffic +``` + +### Examples + +``` +vtctldclient --server localhost:15999 Reshard --workflow cust2cust --target-keyspace customer switchtraffic --tablet-types "replica,rdonly" +``` + +### Options + +``` + -c, --cells strings Cells and/or CellAliases to switch traffic in. + --dry-run Print the actions that would be taken and report any known errors that would have occurred. + --enable-reverse-replication Setup replication going back to the original source keyspace to support rolling back the traffic cutover. (default true) + -h, --help help for switchtraffic + --max-replication-lag-allowed duration Allow traffic to be switched only if VReplication lag is below this. (default 30s) + --tablet-types strings Tablet types to switch traffic for. + --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 + +``` + --action_timeout duration timeout for the total command (default 1h0m0s) + --server string server to use for connection (required) +``` + +### SEE ALSO + +* [vtctldclient Reshard](../) - Perform commands related to resharding a keyspace. + diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/_index.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/_index.md index 292d2489c..f10b8243d 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/_index.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/_index.md @@ -19,7 +19,7 @@ vtctldclient Workflow --keyspace [command] [command-flags] ``` -h, --help help for Workflow - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). ``` ### Options inherited from parent commands diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_delete.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_delete.md index a26f82df3..740620f8b 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_delete.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_delete.md @@ -20,16 +20,16 @@ vtctldclient --server localhost:15999 workflow --keyspace customer delete --work ``` -h, --help help for delete - --keep-data Keep the partially copied table data from the workflow in the target keyspace - --keep-routing-rules Keep the routing rules created for the workflow - -w, --workflow string The workflow you want to delete (required) + --keep-data Keep the partially copied table data from the workflow in the target keyspace. + --keep-routing-rules Keep the routing rules created for the workflow. + -w, --workflow string The workflow you want to delete (required). ``` ### Options inherited from parent commands ``` --action_timeout duration timeout for the total command (default 1h0m0s) - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). --server string server to use for connection (required) ``` diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_list.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_list.md index b298632f3..f320d0ec7 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_list.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_list.md @@ -26,7 +26,7 @@ vtctldclient --server localhost:15999 workflow --keyspace customer list ``` --action_timeout duration timeout for the total command (default 1h0m0s) - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). --server string server to use for connection (required) ``` diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_show.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_show.md index 891ef0987..b932110c8 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_show.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_show.md @@ -20,14 +20,14 @@ vtctldclient --server localhost:15999 workflow --keyspace customer show --workfl ``` -h, --help help for show - -w, --workflow string The workflow you want the details for (required) + -w, --workflow string The workflow you want the details for (required). ``` ### Options inherited from parent commands ``` --action_timeout duration timeout for the total command (default 1h0m0s) - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). --server string server to use for connection (required) ``` diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_start.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_start.md index eca3a0002..10f3678c7 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_start.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_start.md @@ -19,15 +19,14 @@ vtctldclient --server localhost:15999 workflow --keyspace customer start --workf ### Options ``` - -h, --help help for start - -w, --workflow string The workflow you want to start (required) + -h, --help help for start ``` ### Options inherited from parent commands ``` --action_timeout duration timeout for the total command (default 1h0m0s) - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). --server string server to use for connection (required) ``` diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_stop.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_stop.md index f6ff45342..309a0e0bf 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_stop.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_stop.md @@ -19,15 +19,14 @@ vtctldclient --server localhost:15999 workflow --keyspace customer stop --workfl ### Options ``` - -h, --help help for stop - -w, --workflow string The workflow you want to stop (required) + -h, --help help for stop ``` ### Options inherited from parent commands ``` --action_timeout duration timeout for the total command (default 1h0m0s) - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). --server string server to use for connection (required) ``` diff --git a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_update.md b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_update.md index 7c72a82aa..b7af017fa 100644 --- a/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_update.md +++ b/content/en/docs/18.0/reference/programs/vtctldclient/vtctldclient_Workflow/vtctldclient_Workflow_update.md @@ -19,19 +19,19 @@ vtctldclient --server localhost:15999 workflow --keyspace customer update --work ### Options ``` - -c, --cells strings New Cell(s) or CellAlias(es) (comma-separated) to replicate from + -c, --cells strings New Cell(s) or CellAlias(es) (comma-separated) to replicate from. -h, --help help for update - --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 - -t, --tablet-types strings New source tablet types to replicate from (e.g. PRIMARY,REPLICA,RDONLY) - --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) - -w, --workflow string The workflow you want to update (required) + --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. + -t, --tablet-types strings New source tablet types to replicate from (e.g. PRIMARY,REPLICA,RDONLY). + --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) + -w, --workflow string The workflow you want to update (required). ``` ### Options inherited from parent commands ``` --action_timeout duration timeout for the total command (default 1h0m0s) - -k, --keyspace string Keyspace context for the workflow (required) + -k, --keyspace string Keyspace context for the workflow (required). --server string server to use for connection (required) ```