mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
Avoid removing 'tmp' directory inside '.minio.sys' (#3294)
This commit is contained in:
committed by
Harshavardhana
parent
2c3a2241e7
commit
ffbee70e04
@@ -56,7 +56,7 @@ func (fs fsObjects) isUploadIDExists(bucket, object, uploadID string) bool {
|
||||
func (fs fsObjects) updateUploadJSON(bucket, object string, uCh uploadIDChange) error {
|
||||
uploadsPath := path.Join(mpartMetaPrefix, bucket, object, uploadsJSONFile)
|
||||
uniqueID := getUUID()
|
||||
tmpUploadsPath := path.Join(tmpMetaPrefix, uniqueID)
|
||||
tmpUploadsPath := uniqueID
|
||||
|
||||
uploadsJSON, err := readUploadsJSON(bucket, object, fs.storage)
|
||||
if errorCause(err) == errFileNotFound {
|
||||
|
||||
Reference in New Issue
Block a user