EmergencyReparentShard

vtctldclient EmergencyReparentShard

Reparents the shard to the new primary. Assumes the old primary is dead and not responding.

  1. vtctldclient EmergencyReparentShard <keyspace/shard>

Options

  1. -h, --help help for EmergencyReparentShard
  2. -i, --ignore-replicas strings Comma-separated, repeated list of replica tablet aliases to ignore during the emergency reparent.
  3. --new-primary string Alias of a tablet that should be the new primary. If not specified, the vtctld will select the best candidate to promote.
  4. --prevent-cross-cell-promotion Only promotes a new primary from the same cell as the previous primary.
  5. --wait-replicas-timeout duration Time to wait for replicas to catch up in reparenting. (default 15s)

Options inherited from parent commands

  1. --action_timeout duration timeout for the total command (default 1h0m0s)
  2. --server string server to use for connection (required)

SEE ALSO

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