← Back to team overview

openstack team mailing list archive

Re: Metadata in listing

 

The metadata for objects is stored at the object level, not in the
container dbs.  Reporting metadata information for container listings
would require the server to HEAD every object in the container, which
would cause too much work on the backend.

--
Chuck

On Wed, Dec 12, 2012 at 7:01 AM, Morten Møller Riis <mmr@xxxxxxxxxxx> wrote:
> Hi Guys
>
> I was wondering if there is any possibility of getting metadata output in
> the listing when you issue a GET on a container.
>
> At the moment it returns eg.:
>
> <object>
> <name>10620_1b8b2553c6eb9987ff647d69e3181f9eeb3a43ef.jpg</name>
> <hash>e453fcd7ff03e9e0e460555e875b1da1</hash>
> <bytes>9272</bytes>
> <content_type>image/jpeg</content_type>
> <last_modified>2012-09-20T23:27:34.473230</last_modified>
> </object>
>
> If I have X-Object-Meta-Something on an object it would be nice to see it
> here as well. I know I can get it by doing a HEAD request. But this gets
> heavy for many objects.
>
> Any suggestions?
>
> Best regards
> Morten Møller Riis
>
>
>
>
>
>
> Med venlig hilsen / Best regards
> Morten Møller Riis
> mmr@xxxxxxxxxxx
>
> Gigahost
> Gammeltorv 8, 2.
> 1457 København K
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References