<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hehe, alright :)<div><br></div><div>Well, as their documentation says: <a href="http://www.rackspace.com/blog/rackspace-cloud-files-how-to-use-expiring-objects-api-functionality/">http://www.rackspace.com/blog/rackspace-cloud-files-how-to-use-expiring-objects-api-functionality/</a></div><div><br></div><div>It should "just work" :) If it doesn't it's not an openstack issue but a rackspace issue ;) </div><div><br><div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Mvh / Best regards</div><div>Morten Møller Riis</div><div>Gigahost ApS</div><div><a href="mailto:mmr@gigahost.dk">mmr@gigahost.dk</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Oct 10, 2013, at 2:48 PM, Shrinand Javadekar <<a href="mailto:shrinand@maginatics.com">shrinand@maginatics.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I am using Rackspace Cloudfiles-US. I don't have access to the actual storage servers to find out if the expirer is running. <div><br></div><div>But given that it is a publicly available object store, I would hope so :-).</div>
<div><br></div><div>-Shri</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 9, 2013 at 8:46 PM, Morten Møller Riis <span dir="ltr"><<a href="mailto:mmr@gigahost.dk" target="_blank">mmr@gigahost.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class="im">Is the swift-object-expirer daemon running?</div><div><div class="im">
<br><div>
<span style="border-collapse:separate;border-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>Mvh / Best regards</div><div>Morten Møller Riis</div><div>Gigahost ApS</div><div><a href="mailto:mmr@gigahost.dk" target="_blank">mmr@gigahost.dk</a></div><div><br></div></div></span><br></span><br>
</div>
<br></div><div><div class="im"><div>On Oct 10, 2013, at 2:28 PM, Shrinand Javadekar <<a href="mailto:shrinand@maginatics.com" target="_blank">shrinand@maginatics.com</a>> wrote:</div><br></div><blockquote type="cite">
<div><div class="h5"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Objects in a swift container can be deleted by either explicitly deleting them or by setting a expiry timestamp on them. Is there a performance difference between the two? For example, when I want to delete an object, instead of deleting it, can I simply set the X-Delete-After attribute of that object to 0? Is one faster than the other? </div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">My guess is that setting the object expiry timestamp may be faster since that would only involve changing the xattrs of the object inode. Delete will require creation of a new version of the object, truncating it to a 0 byte file and renaming it to change the extension to ".ts". Seems like less work is done when object expiration is set.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">To try this out, I tried setting the X-Delete-After attribute using the swift command line client:</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">$ swift post -m X-Delete-After: 1 <container-name> <object-name><br>
</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">After I did this, when I stat the object, I see the attribute "Meta X-Delete-After: 1". However, the object never got deleted. Any idea what I'm doing wrong?</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">-Shri</div></div></div></div><div class="im">
_______________________________________________<br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></blockquote></div><br></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></body></html>