You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by jo...@gmail.com,
jo...@gmail.com on 2018/04/05 02:04:58 UTC
deleteObject with missing object
What does deleteObject do when the object is not present in the cloud? does it silently return success (as with the corresponding idempotent http verb)?
When writing a client, one doesn't want to catch an exception for a missing object and, not knowing what it's for, just retry the operation.
Thanks!
John
Re: deleteObject with missing object
Posted by Andrew Gaul <ga...@apache.org>.
On Thu, Apr 05, 2018 at 02:04:58AM -0000, john.calcote@gmail.com wrote:
> What does deleteObject do when the object is not present in the cloud? does it silently return success (as with the corresponding idempotent http verb)?
>
> When writing a client, one doesn't want to catch an exception for a missing object and, not knowing what it's for, just retry the operation.
All blobstores allow deletes of non-existent keys.
--
Andrew Gaul
http://gaul.org/