asilvas / blobby

HTTP Proxy for Blob storage systems (such as S3) that automatically shards and replicates your data
MIT License
4 stars 5 forks source link

Add `repairFromReplica` option #10

Open asilvas opened 7 years ago

asilvas commented 7 years ago

Add an option repairFromReplica that when a 404 occurs on local replica read, a random remote replica is queried for the asset. If the asset is found in the remote replica, the local replica will be repaired. This enables self-healing for when a partial uploads succeed (one or more replicas fail).

asilvas commented 7 years ago

If this option is added, it will default to disabled, since this technically breaks the architecture of never leaving the local DC.