]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/dbstore: Handle prefix/delim in Bucket::List op
authorSoumya Koduri <skoduri@redhat.com>
Thu, 14 Apr 2022 19:51:17 +0000 (01:21 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 19 Apr 2022 07:53:09 +0000 (13:23 +0530)
commite51de26939f29bd507ab3dbe726d345c757ea6f6
treeddba74d99d9c3b9ab48d6218ff575461e8da83e5
parent61ede7086975b20495e4091d2487f7698c7adf83
rgw/dbstore: Handle prefix/delim in Bucket::List op

Given a prefix, fetch only those objects matching the prefix.
In addition, skip the entries with "delim" and instead include
those entries in common_prefixes

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/store/dbstore/common/dbstore.cc
src/rgw/store/dbstore/common/dbstore.h
src/rgw/store/dbstore/sqlite/sqliteDB.cc
src/rgw/store/dbstore/tests/dbstore_tests.cc