You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we try to delete a non-existing blob storage.delete(nonExistingBlob) returns false.
If we try to delete a non-existing blob with a batch request:
BatchRequestbatchRequest = BatchRequest.builder()
.delete(nonExistingBlob)
.build();
...
batchResponse.deletes().get(0).failed(); // This is true
The deletion of a non-existing-blob is considered a failure in BatchResponse.
Wouldn't it be better to make this two ways of deleting a blob exhibit the same behavior?
If we try to delete a non-existing blob
storage.delete(nonExistingBlob)returnsfalse.If we try to delete a non-existing blob with a batch request:
The deletion of a non-existing-blob is considered a failure in
BatchResponse.Wouldn't it be better to make this two ways of deleting a blob exhibit the same behavior?