mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	XL: Abortmultipart should update uploads.json properly. (#1757)
				
					
				
			This commit is contained in:
		
							parent
							
								
									a9e778f460
								
							
						
					
					
						commit
						a4771265cf
					
				| @ -463,6 +463,9 @@ func (xl xlObjects) abortMultipartUploadCommon(bucket, object, uploadID string) | ||||
| 			uploadIDs.Uploads = append(uploadIDs.Uploads[:uploadIDIdx], uploadIDs.Uploads[uploadIDIdx+1:]...) | ||||
| 		} | ||||
| 		if len(uploadIDs.Uploads) > 0 { | ||||
| 			if err = updateUploadJSON(bucket, object, uploadIDs, xl.storageDisks...); err != nil { | ||||
| 				return err | ||||
| 			} | ||||
| 			return nil | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user