Block IDs must have the same length when uploading a large file in blocks
Bug #1202316 reported by
Matias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go Windows Azure Client Library |
Fix Released
|
High
|
Julian Edwards |
Bug Description
When uploading a ~ 60m file with:
UploadBlockBlob
I'm getting the error:
"...The specified blob or block content is invalid..."
After some googling, I found this is caused because all BlockIDs must have the same length (see http://
The fix is to add something like:
blockID = fmt.Sprintf(
at storage.go:38
Related branches
lp:~julian-edwards/gwacl/fix-block-lengths
- Raphaël Badin (community): Approve
-
Diff: 42 lines (+7/-5)2 files modifiedstorage.go (+2/-0)
storage_test.go (+5/-5)
Changed in gwacl: | |
status: | Triaged → In Progress |
assignee: | nobody → Julian Edwards (julian-edwards) |
Changed in gwacl: | |
status: | In Progress → Fix Committed |
Changed in gwacl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the bug report. I'm guessing you're uploading bigger files than we did yet!