Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Issue in Object Versioning


We are following to enable object-versioning in our swift environment.

Issue 1 - We are able to create versions for an object. But, according to the guide we are not able to see the list of versioned objects using below command from the guide

See a listing of the older versions of the object:

curl -i -H "X-Auth-Token: <token>" http://<storage_url>/versions?prefix=myobject/

it gives output as :

HTTP/1.1 204 No Content X-Container-Object-Count: 1 X-Timestamp: 1344334195.70066 X-Container-Bytes-Used: 1 Accept-Ranges: bytes Content-Length: 0 X-Trans-Id: tx8e3851a719d7421ea318fb016ecc4f31 Date: Tue, 07 Aug 2012 10:16:33 GMT

Issue 2 - When we connect to swift using cyberduck, we see a folder getting created in the versions container with objects in it.

Question 1 - for example, if the object name is 'myobject', then the folder gets created with a name '008myobject', what does 008 mean here? is it the month of creation (august) ?

Question 2 - under the '008myobject' folder, we see an object created with a name '1344334333.42845'.

In the object name, we figured out that first 10 characters are the epoch time. What doe that later 5 characters mean?


Viral Patadiya