https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2018-07-05T17:47:07ZCeph rgw - Feature #24493: rgw does not implement list_object_v2 in S3 https://tracker.ceph.com/issues/24493?journal_id=1162612018-07-05T17:47:07ZAbhishek Lekshmananabhishek.lekshmanan@gmail.com
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>Assignee</strong> set to <i>Orit Wasserman</i></li></ul> rgw - Feature #24493: rgw does not implement list_object_v2 in S3 https://tracker.ceph.com/issues/24493?journal_id=1477362019-10-04T21:41:36ZSimon Leinensimon.leinen@gmail.com
<ul></ul><p>It would be great if rgw fully supported ListObjectsV2. Looking at the spec differences between <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html" title="v1" class="external">ListObjects</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html" class="external">ListObjectsV2</a>, most of the V2 functionality is already implemented in rgw. In particular, rgw already understands <code>continuation-token</code>, <code>start-after</code> and <code>fetch-owner</code>.</p>
<p><strong>The only thing missing seems to be <code>KeyCount</code> in the v2 response.</strong></p>
<p>Several users of rgw-based storage as the backend for GitLab's container registry have run into this: a maintenance command for cleaning up old container data core dumps because of the missing <code>KeyCount</code>. See <a href="https://gitlab.com/gitlab-org/gitlab-foss/issues/64923" class="external">Ceph issue 64923</a>. That issue has been worked around upstream in the Docker registry code (docker/distribution <a href="https://github.com/docker/distribution/pull/2879" class="external">issue #2879</a>), but it would be nice if such workarounds wouldn't be necessary.</p>
<p>Implementing the missing <code>KeyCount</code> functionality seems like an achievable goal.</p> rgw - Feature #24493: rgw does not implement list_object_v2 in S3 https://tracker.ceph.com/issues/24493?journal_id=1477792019-10-07T04:42:02ZAlbin Antony
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul><p>rgw supports KeyCount and it is working fine while testing with s3-tests. Could you please let us know if I am missing something?</p>