Skip to content

Remove multiple variations of deleting blobs from BlobContainer interface #18529

@abeyad

Description

@abeyad

Currently in the BlobContainer interface, there are three types of delete blob methods:

  1. void deleteBlob(String blobName)
  2. void deleteBlobs(Collection blobNames)
  3. void deleteBlobsByPrefix(String blobNamePrefix)

These methods are again redundant and present confusing semantics. Having just one deleteBlob(String blobName) is the only method that can be truly atomic (can not atomically delete a collection of blobs) and it avoids complex exception handling (what do we do if some of the blobs exist, but not others?).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions