diff --git a/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ApplyKeyspaceRoutingRules.md b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ApplyKeyspaceRoutingRules.md new file mode 100644 index 000000000..a4a43378c --- /dev/null +++ b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_ApplyKeyspaceRoutingRules.md @@ -0,0 +1,39 @@ +--- +title: ApplyKeyspaceRoutingRules +series: vtctldclient +commit: 6cd09cce61fa79a1b7aacb36886b7dc44ae82a94 +--- +## vtctldclient ApplyKeyspaceRoutingRules + +Applies the provided keyspace routing rules. + +``` +vtctldclient ApplyKeyspaceRoutingRules {--rules RULES | --rules-file RULES_FILE} [--cells=c1,c2,...] [--skip-rebuild] [--dry-run] +``` + +### Options + +``` + -c, --cells strings Limit the VSchema graph rebuilding to the specified cells. Ignored if --skip-rebuild is specified. + -d, --dry-run Validate the specified keyspace routing rules and note actions that would be taken, but do not actually apply the rules to the topo. + -h, --help help for ApplyKeyspaceRoutingRules + -r, --rules string Keyspace routing rules, specified as a string + -f, --rules-file string Path to a file containing keyspace routing rules specified as JSON + --skip-rebuild Skip rebuilding the SrvVSchema objects. +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout to use for the command (default 1h0m0s) + --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. + diff --git a/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_GetKeyspaceRoutingRules.md b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_GetKeyspaceRoutingRules.md new file mode 100644 index 000000000..ccfe1caa9 --- /dev/null +++ b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_GetKeyspaceRoutingRules.md @@ -0,0 +1,34 @@ +--- +title: GetKeyspaceRoutingRules +series: vtctldclient +commit: 6cd09cce61fa79a1b7aacb36886b7dc44ae82a94 +--- +## vtctldclient GetKeyspaceRoutingRules + +Displays the currently active keyspace routing rules. + +``` +vtctldclient GetKeyspaceRoutingRules +``` + +### Options + +``` + -h, --help help for GetKeyspaceRoutingRules +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout to use for the command (default 1h0m0s) + --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. + diff --git a/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_GetShardReplication.md b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_GetShardReplication.md new file mode 100644 index 000000000..af7d2e352 --- /dev/null +++ b/content/en/docs/20.0/reference/programs/vtctldclient/vtctldclient_GetShardReplication.md @@ -0,0 +1,34 @@ +--- +title: GetShardReplication +series: vtctldclient +commit: 6cd09cce61fa79a1b7aacb36886b7dc44ae82a94 +--- +## vtctldclient GetShardReplication + +Returns information about the replication relationships for a shard in the given cell(s). + +``` +vtctldclient GetShardReplication [cell1 [cell2...]] +``` + +### Options + +``` + -h, --help help for GetShardReplication +``` + +### Options inherited from parent commands + +``` + --action_timeout duration timeout to use for the command (default 1h0m0s) + --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. +