]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: allow ordered bucket listing to work when many filtered out entries 42125/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 19 Jul 2021 18:24:11 +0000 (14:24 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 4 Aug 2021 04:45:14 +0000 (00:45 -0400)
commit423c18308a35f0f2d6c7697539301cf7001d6329
tree7b3ebf688aef326d16c2c87c16cb0f31d1c0dd48
parent5d283074750dc6bd458877bd42921037b5bb7f4b
rgw: allow ordered bucket listing to work when many filtered out entries

A previous PR moved the much of the filtering that's part of bucket
listing to the CLS layer. One unanticipated result was that it is now
possible for a call to return 0 entries. In such a case we want to
retry the call with the marker moved forward (i.e., advanced),
repeatedly if necessary, in order to either retrieve some entries or
to hit the end of the entries. This PR adds that functionality.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/cls/rgw/cls_rgw_ops.h
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_rados.cc