Skip to content

cli: add recover execute-plan to recover range from loss of quorum #71863

@erikgrinaker

Description

@erikgrinaker

As part of the improved loss of quorum tooling in #71860, we should implement a debug recover execute-plan <store> <plan> command which uses a recovery plan generated by debug recover make-plan and applies it to the local store. This involves rewriting the range descriptor for the designated survivor to make it the only voter, and GC the other replicas.

For more details, see the internal RFC draft.

Epic: CRDB-1513

Metadata

Metadata

Assignees

Labels

A-cli-adminCLI commands that pertain to controlling and configuring nodesA-kv-replicationRelating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions