mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 00:03:29 +03:00
Avoid creating tmp directories under .minio/tmp/ to facilitate cleaning (#2187)
This commit is contained in:
committed by
Harshavardhana
parent
ac6ff67546
commit
0fddf3fe17
+1
-1
@@ -364,7 +364,7 @@ func (xl xlObjects) PutObjectPart(bucket, object, uploadID string, partID int, s
|
||||
// accommodate concurrent PutObjectPart requests
|
||||
partSuffix := fmt.Sprintf("part.%d", partID)
|
||||
tmpSuffix := getUUID()
|
||||
tmpPartPath := path.Join(tmpMetaPrefix, uploadID, tmpSuffix)
|
||||
tmpPartPath := path.Join(tmpMetaPrefix, tmpSuffix)
|
||||
|
||||
// Initialize md5 writer.
|
||||
md5Writer := md5.New()
|
||||
|
||||
Reference in New Issue
Block a user