Skip to content

[7.x] Add peer recoveries using snapshot files when possible#76482

Merged
fcofdez merged 4 commits intoelastic:7.xfrom
fcofdez:snapshot-files-peer-recovery-7.x
Aug 13, 2021
Merged

[7.x] Add peer recoveries using snapshot files when possible#76482
fcofdez merged 4 commits intoelastic:7.xfrom
fcofdez:snapshot-files-peer-recovery-7.x

Conversation

@fcofdez
Copy link
Copy Markdown
Contributor

@fcofdez fcofdez commented Aug 13, 2021

This commit adds peer recoveries from snapshots. It allows establishing a replica by downloading file data from a snapshot rather than transferring the data from the primary.

Enabling this feature is done on the repository definition. Repositories having the setting use_for_peer_recovery=true will be consulted to find a good snapshot when recovering a shard.

Relates #73496
Backport of #76237

This commit adds peer recoveries from snapshots. It allows establishing a replica by downloading file data from a snapshot rather than transferring the data from the primary.

Enabling this feature is done on the repository definition. Repositories having the setting `use_for_peer_recovery=true` will be consulted to find a good snapshot when recovering a shard.

Relates elastic#73496
Backport of elastic#76237
@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 13, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@fcofdez fcofdez merged commit 8cc9a4a into elastic:7.x Aug 13, 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