-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Storage blob versioning #1229
Comments
The code of the azurestore has slightly changed since we migrated to a newer Azure SDK in #1205, but it seems you are referring to these lines: tusd/pkg/azurestore/azureservice.go Lines 196 to 210 in a50bc42
The code after Maybe @omBratteng can shed some light on this as well. As far as I know, he doesn't work with tusd anymore but he wrote the initial version of azurestore and might remember some details why |
I don't exactly remember. @MariuszBartnik how are you downloading the blob? |
I have a Azure Storage account with blob versioning functionality enabled. I want to upsert file, by providing the same path for blob as the one, that already exists on the storage and create a new version of this file in this way. I was doing this without any problems on my previous setup, which was an Express app with multer streaming files to Azure, but now I want to migrate to using tusd instead.
I have noticed an issue with this approach though. When I try to download the updated file I am still getting the original one, instead of a new one, even if the upload was a success. I've notice that the issue is connected to this piece of code in the
getOffset
function inazureservice.go
file.I might be missing something, so I wanted to ask if we really need to get the block list for
azblob.BlockListAll
instead ofazblob.BlockListUncommitted
? With this setup function is returning blocks for both files - updated and original.The text was updated successfully, but these errors were encountered: