dotnet / dotnet/arcade-services
Race condition during blob publishing
- Dominant language
- C#
- Stars
- 86
- Forks
- 86
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 35
Description
There is the possibility for a race condition during blob publishing when a build that activates two different channels that target the same _blob storage._ The race condition itself isn't the problem. The thing is that we want to make sure that whenever we attempt to re-publish an asset the published content and the newly one are the same.
Discussed this with @mmitche and @riarenas and possible fix is like so:
- Assume the blob storage doesn't accept overrides.
- Try publishing a blob.
--- If publishing happens everything is fine as there was no previous blob there by assumption.
--- If the blob publishing fail:
-----> Check whether the published blob and the local blob has different contents. If they do show an error otherwise everything is fine.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.