azure: Fix upload corruption with PutObject() on certain sizes (#8330)

On objects bigger than 100MiB can have a corrupted object
stored due to partial blockListing attempted right after
each blocks uploaded. Simplify this code to ensure that
all the blocks successfully uploaded are committed right
away.

This PR also updates the azure-sdk-go to latest release.
This commit is contained in:
Harshavardhana
2019-09-30 18:42:18 -07:00
committed by GitHub
parent 65ac7c5671
commit 4ec9b349d0
3 changed files with 16 additions and 43 deletions

2
go.mod
View File

@@ -4,7 +4,7 @@ go 1.13
require (
cloud.google.com/go v0.37.2
github.com/Azure/azure-sdk-for-go v27.0.0+incompatible
github.com/Azure/azure-sdk-for-go v33.4.0+incompatible
github.com/Azure/go-autorest v11.7.0+incompatible
github.com/alecthomas/participle v0.2.1
github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190307165228-86c17b95fcd5