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