Skip to content

cli: add recover make-plan to generate recovery plan #71862

@erikgrinaker

Description

@erikgrinaker

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

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