]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/directory: support for ordered set in both ObjectDirectory
authorPritha Srivastava <prsrivas@redhat.com>
Wed, 25 Sep 2024 04:16:34 +0000 (09:46 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Mon, 21 Apr 2025 04:04:07 +0000 (09:34 +0530)
commit0c640739ff9d5830e450242dd79c6bd06793f4d9
tree433de68ae173ffe4436eef04fbe2198b706d0c58
parent3ec835a64b4198779f62fb71468a92e0f2c4b691
rgw/directory: support for ordered set in both ObjectDirectory
and BlockDirectory.

Adds methods to add, list a range and remove members from a
redis ordered set ordered by score passed in. Also adds unit
test cases to test the methods.

Samarah has fixed the arguments passed in to zrevrange in
ZAddZRemYield and ZAddZRevRangeYield tests.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/driver/d4n/d4n_directory.cc
src/rgw/driver/d4n/d4n_directory.h
src/rgw/driver/d4n/d4n_policy.h
src/test/rgw/test_d4n_directory.cc