hermes
hermes copied to clipboard
Asynchronous Bucket::Destroy
Since Bucket::Destroy is a potentially heavy operation, it makes sense to do as much work in the background as possible. We could do the following:
- Delete the
BucketIDfrom the MDM so the app can no longer see it. - Queue a
BufferOrganizertask to go clean up the remaining metadata (BlobIDs,Buffers, etc). - Return