Skip to contentSkip to conversation

RGW & Object Tagging

DISCUSSION Abhishek L 2 participants 2 messages Mar 1, 2017 – Mar 2, 2017

lore
Share & tools
lore

Abhishek L

author
#0 lore raw

Last November, S3 introduced a new set of APIs for Object Tagging[1], which are simply key value metadata associated with objects, this however doesn't seem to be an API wrapped around the already existing x-amz-meta-* tags[2]. Also, beyond an API to GET/PUT/POST tags, S3 also seems to have support for tags in their LifeCycle, ACL and CloudWatch Metrics.

Would such an API make sense for RGW?
I'd imagine implementing the API itself wouldn't be that difficult and would fit similar to the way we handle object metadata & ACLs etc currently. Adding this to elasticsearch might be interesting, but supporting this in ACLs & LifeCycle might require much more work. Thoughts?

[1]:
https://aws.amazon.com/about-aws/whats-new/2016/11/revolutionizing-s3-storage-management-with-4-new-features/
[2]: http://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html

Best,
Abhishek

#1 lore raw
Quoted 7 lines · Abhishek L

Last November, S3 introduced a new set of APIs for Object Tagging[1], which are simply key value metadata associated with objects, this however doesn't seem to be an API wrapped around the already existing x-amz-meta-* tags[2]. Also, beyond an API to GET/PUT/POST tags, S3 also seems to have support for tags in their LifeCycle, ACL and CloudWatch Metrics.

Quoted 7 lines

Would such an API make sense for RGW?
I'd imagine implementing the API itself wouldn't be that difficult and would fit similar to the way we handle object metadata & ACLs etc currently. Adding this to elasticsearch might be interesting, but supporting this in ACLs & LifeCycle might require much more work. Thoughts?

I'm all for implementing it. However, one thing that I'm missing in this api is the ability to search objects by tags. I think that's a useful feature that we can think of adding. E.g., a list bucket request that includes a tags=<list of tags> and that will return any object that includes one of these tags. This will require indexing data by tags, which will require some thinking as to how to do it correctly.

Thanks,
Yehuda