-
Notifications
You must be signed in to change notification settings - Fork 4.1k
cli: add debug recover commands for loss of quorum recovery #71860
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 an incremental improvement on the current unsafe-remove-dead-replicas command for recovery from loss of quorum, we will be adding a new set of debug recover subcommands that automate parts of the process and detect scenarios in which is may be unsafe. The tool will be used on offline clusters in the first instance, with future improvements to make it an online process.
For more details, see the internal RFC draft.
Subcommands to implement:
- cli: add
recover dump-infoto dump store info for recovery #71861 - cli: add
recover make-planto generate recovery plan #71862 - cli: add
recover execute-planto recover range from loss of quorum #71863
Related to #17186.
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)