@ -68,7 +68,10 @@ func (xl xlObjects) listMultipartUploads(bucket, prefix, keyMarker, uploadIDMark
continue
}
uploads , _ , err = listMultipartUploadIDs ( bucket , keyMarker , uploadIDMarker , maxUploads , disk )
if err == errDiskNotFound || err == errFaultyDisk {
if err == nil {
break
}
if isErrIgnored ( err , objMetadataOpIgnoredErrs ) {
continue
}
break
@ -100,7 +103,7 @@ func (xl xlObjects) listMultipartUploads(bucket, prefix, keyMarker, uploadIDMark
// For any walk error return right away.
if walkResult . err != nil {
// File not found or Disk not found is a valid case.
if walkResult . err == errFileNotFound || walkResult . err == errDiskNotFound || walkResult . err == errFaultyDisk {
if isErrIgnored ( walkResult . err , walkResultIgnoredErrs ) {
continue
}
return ListMultipartsInfo { } , err
@ -130,14 +133,17 @@ func (xl xlObjects) listMultipartUploads(bucket, prefix, keyMarker, uploadIDMark
continue
}
newUploads , end , err = listMultipartUploadIDs ( bucket , entry , uploadIDMarker , maxUploads , disk )
if err == errDiskNotFound || err == errFaultyDisk {
if err == nil {
break
}
if isErrIgnored ( err , objMetadataOpIgnoredErrs ) {
continue
}
break
}
nsMutex . RUnlock ( minioMetaBucket , pathJoin ( mpartMetaPrefix , bucket , entry ) )
if err != nil {
if err == errFileNotFound || walkResult . err == errDiskNotFound || walkResult . err == errFaultyDisk {
if isErrIgnored ( err , walkResultIgnoredErrs ) {
continue
}
return ListMultipartsInfo { } , err
@ -723,7 +729,10 @@ func (xl xlObjects) CompleteMultipartUpload(bucket string, object string, upload
continue
}
uploadsJSON , err = readUploadsJSON ( bucket , object , disk )
if err == errDiskNotFound || err == errFaultyDisk {
if err == nil {
break
}
if isErrIgnored ( err , objMetadataOpIgnoredErrs ) {
continue
}
break
@ -774,7 +783,10 @@ func (xl xlObjects) abortMultipartUpload(bucket, object, uploadID string) (err e
continue
}
uploadsJSON , err = readUploadsJSON ( bucket , object , disk )
if err == errDiskNotFound || err == errFaultyDisk {
if err == nil {
break
}
if isErrIgnored ( err , objMetadataOpIgnoredErrs ) {
continue
}
break