multipart: Multipart session map now is based on uploadID.

- Fixes initiating parallel uploads, and configs being quickly
  re-written by another incoming request.
- Parallel uploads work smoothly now and return expected behavior.
This commit is contained in:
Harshavardhana committed 2016-02-05 23:32:30 -08:00
1 parent 3f5804f75a
commit 8df201ef30
5 files changed
+62 -46

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ type Buckets struct {
// MultipartSession holds active session information
type MultipartSession struct {
TotalParts int
ObjectName string
UploadID string
Initiated time.Time
Parts []PartMetadata