mirantis/msr db emergency-repair

Recover MSR tables from a loss of quorum.

Usage

msr db emergency-repair [command options] [arguments...]

Description

Use the db emergency-repair command to repair all RethinkDB tables in use by MSR that have lost quorum. The command accomplishes its work by running the RethinkDB unsafe_rollback emergency repair on the tables and then scaling the tables similar to msr db scale command (refer to mirantis/msr db scale for information on which replication factor to use).

Options

Option

Description

--rethinkdb-addr value

The RethinkDB address.

  • Environment variable: $MSR_RETHINKDB_ADDR

  • Default: msr-rethinkdb-proxy:28015

--rethinkdb-client-cert value

The path for the RethinkDB client certificate file.

  • Environment variable: $MSR_RETHINKDB_CLIENT_CERT_FILE

  • Default: /certs/rethinkdb-client/tls.crt

--rethinkdb-client-key value

The path for the RethinkDB client key file.

  • Environment variable: $MSR_RETHINKDB_CLIENT_KEY_FILE

  • Default: /certs/rethinkdb-client/tls.key

--rethinkdb-ca value

The path for the RethinkDB ca certificate file.

  • Environment variable: $MSR_RETHINKDB_CA_CERT_FILE

  • Default: /certs/rethinkdb/ca.crt

--rethinkdb-insecure-skip-verify

Indicates whether to skip TLS verification.

  • Environment variable: $MSR_RETHINKDB_INSECURE_SKIP_VERIFY

  • Default: false

--replicas value

The number of RethinkDB servers to replicate new tables across once emergency-repair is complete.

  • Environment variable: $MSR_DB_REPLICAS

  • Default: auto

--help, -h

Indicates whether to show help.

  • Environment variable: N/A

  • Default: false

See also

The official RethinkDB documentation on Emergency Repair