Do not remove during Azure abortMultipartUpload

Explicitly removing the blob removes any previously existing blob with
the same name.
This commit is contained in:
Andrew Gaul 2016-02-03 23:34:37 -08:00
parent de333e8b3c
commit 0cf13c61ef
1 changed files with 2 additions and 1 deletions

View File

@ -389,7 +389,8 @@ public class AzureBlobStore extends BaseBlobStore {
@Override
public void abortMultipartUpload(MultipartUpload mpu) {
sync.deleteBlob(mpu.containerName(), mpu.blobName());
// Azure automatically removes uncommitted blocks after 7 days:
// http://gauravmantri.com/2012/05/11/comparing-windows-azure-blob-storage-and-amazon-simple-storage-service-s3part-ii/#f020
}
@Override