|
|
@ -323,7 +323,7 @@ func appendParts(disk StorageAPI, bucket, object, uploadID, opsID string) { |
|
|
|
|
|
|
|
|
|
|
|
fsAppendMeta, err := readFSMetadata(disk, minioMetaBucket, fsAppendMetaPath) |
|
|
|
fsAppendMeta, err := readFSMetadata(disk, minioMetaBucket, fsAppendMetaPath) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
if err != errFileNotFound { |
|
|
|
if errorCause(err) != errFileNotFound { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
fsAppendMeta = fsMeta |
|
|
|
fsAppendMeta = fsMeta |
|
|
@ -358,6 +358,7 @@ func appendParts(disk StorageAPI, bucket, object, uploadID, opsID string) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// Path to the part that needs to be appended.
|
|
|
|
// Path to the part that needs to be appended.
|
|
|
|
|
|
|
|
partPath = path.Join(mpartMetaPrefix, bucket, object, uploadID, part.Name) |
|
|
|
offset := int64(0) |
|
|
|
offset := int64(0) |
|
|
|
totalLeft := part.Size |
|
|
|
totalLeft := part.Size |
|
|
|
buf := make([]byte, readSizeV1) |
|
|
|
buf := make([]byte, readSizeV1) |
|
|
|