-
Notifications
You must be signed in to change notification settings - Fork 4.1k
cli: add recover execute-plan to recover range from loss of quorum #71863
Copy link
Copy link
Closed
Labels
A-cli-adminCLI commands that pertain to controlling and configuring nodesCLI commands that pertain to controlling and configuring nodesA-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-cli-adminCLI commands that pertain to controlling and configuring nodesCLI commands that pertain to controlling and configuring nodesA-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)