Concurrent uploads to same object
Bug #1133069 reported by
rehanift
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
2 files, one large (10M) and one small (1k).
Start uploading larger object, then start uploading smaller object. Both objects are writing to the same object URL
Small object finishes uploading and responds with small object's MD5 in ETag. Describing the object reproduces again the small object's MD5 in ETag. Large object is still uploading
Large object finishes uploading and responds with large objects large object's MD5 in ETag. Describing the object now responds with small object's MD5 in ETag.
I would expect the large object to respond with an error and/or with the small object's MD5 in the ETag header.
I reproduced this on Essex.
description: | updated |
Changed in swift: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Yep, uploads are given a timestamp when they start, and whichever has the newest timestamp wins.
It should be possible to make the larger upload respond with an error when it's thrown away.