Skip to content

[7.x] Add peer recovery planners that take into account available snapshots#76239

Merged
fcofdez merged 1 commit intoelastic:7.xfrom
fcofdez:peer-recovery-from-snapshot-planners-7.x
Aug 9, 2021
Merged

[7.x] Add peer recovery planners that take into account available snapshots#76239
fcofdez merged 1 commit intoelastic:7.xfrom
fcofdez:peer-recovery-from-snapshot-planners-7.x

Conversation

@fcofdez
Copy link
Copy Markdown
Contributor

@fcofdez fcofdez commented Aug 9, 2021

This commit adds a new set of classes that would compute a peer
recovery plan, based on source files + target files + available
snapshots. When possible it would try to maximize the number of
files used from a snapshot. It uses repositories with use_for_peer_recovery
setting set to true.

It adds a new recovery setting indices.recovery.use_snapshots

Relates #73496
Backport of #75840

This commit adds a new set of classes that would compute a peer
recovery plan, based on source files + target files + available
snapshots. When possible it would try to maximize the number of
files used from a snapshot. It uses repositories with `use_for_peer_recovery`
setting set to true.

It adds a new recovery setting `indices.recovery.use_snapshots`

Relates elastic#73496
Backport of elastic#75840
@fcofdez fcofdez added >enhancement :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. backport Team:Distributed Meta label for distributed team. v7.15.0 labels Aug 9, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@fcofdez fcofdez changed the title Add peer recovery planners that take into account available snapshots [7.x] Add peer recovery planners that take into account available snapshots Aug 9, 2021
@fcofdez fcofdez merged commit 8474d93 into elastic:7.x Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. >enhancement Team:Distributed Meta label for distributed team. v7.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants