-
Notifications
You must be signed in to change notification settings - Fork 4.1k
cli: add recover make-plan to generate recovery plan #71862
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 make-plan <files> command that takes the store recovery information from debug recover dump-info and builds a plan to determine a designated survivor replica for ranges that have lost quorum, and try to determine whether recovery is safe. It outputs a plan file that will be used by debug recover exectute-plan to recover the range(s).
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)