SetShardIsPrimaryServing

vtctldclient SetShardIsPrimaryServing

Add or remove a shard from serving. This is meant as an emergency function. It does not rebuild any serving graphs; i.e. it does not run RebuildKeyspaceGraph.

1. vtctldclient SetShardIsPrimaryServing <keyspace/shard> <true/false>

Options

1. -h, --help   help for SetShardIsPrimaryServing

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. --server string             server to use for the connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.