Open JohnTortugo opened 4 years ago
Are there scenarios where we intend to use sleet moving forward?
Not moving forward, just for servicing.
Oh, but this talks about blobs. @JohnTortugo can you clarify if you actually mean the sleet feeds, or just publishing blobs to the storage account?
ping @JohnTortugo
It's for Azure Storage, not necessarily Sleet feeds. I updated the issue description.
Asked by @markwilkie to comment here: We have lots of places where we could use code (that lives in a hacky version in Buildtools already, but I think that one downloads the storage file to diff, which is bad for perf) that does noop when trying to upload an identical blob to another, an error when the contents don't match, and uploads otherwise. Consider putting this into shared functionality.
Makes sense to me. Would be nice to have at least some links here to these places if you remember off the top of your head.
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: