Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed how blob storage PutBlob errors are handled in content.Manager (#…
…117) * Fixed how blob storage PutBlob errors are handled in content.Manager In order to guarantee that all index entries have corresponding pack blobs, we must ensure that `content.Manager.Flush` will not succeed unless all pending writes have completed. Added test that simulates various patterns of PutBlock failures and ensures that data remains durable despite those, assuming all calls to `WriteContent()` and `Flush()` are retried. * addressed review feedback
- Loading branch information
Showing
2 changed files
with
166 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters