Commit Graph

2 Commits

Author SHA1 Message Date
Francisco Fernández Castaño a6aa5998aa
Add third party integration tests for snapshot based recoveries (#76489)
This commit adds third party integration tests for snapshot based
recoveries in S3, Azure and GCS.

Relates #73496
2021-08-13 15:11:28 +02:00
Francisco Fernández Castaño 2ebe5cd075
Add peer recoveries using snapshot files when possible (#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 #73496
2021-08-13 10:42:16 +02:00