[Openstack] [Swift] Object expiration vs DELETE
Caitlin Bestler
caitlin.bestler at nexenta.com
Thu Oct 10 19:36:00 UTC 2013
On 10/10/2013 11:12 AM, Shrinand Javadekar wrote:
> Thanks for the detailed reply Samuel.
>
> The architecture overview of Openstack Swift at [1] mentions: "A
> deletion is also treated as a version of the file (a 0 byte file ending
> with ”.ts”, which stands for tombstone)". That led me to think that an
> object delete is a new version created by truncating and then renaming
> the file.
>
The important distinction is that truncating a file to zero length is
*not* the same thing as deleting it. There is boolean metadta that
indicates this version is "deleted" which is not part of the data.
Swift encodes this with the special name on the file version.
More information about the Openstack
mailing list