]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: consider this scenario, many sibling directories, and many objects under each... 49086/head
authorzealot <xzd16@sohu.com>
Sun, 26 Jun 2022 16:22:19 +0000 (00:22 +0800)
committerCory Snyder <csnyder@iland.com>
Mon, 28 Nov 2022 08:35:24 +0000 (03:35 -0500)
commit7aed961fad5e90279f7d465dde52c435ea3629f4
tree669ee2ce3665e149952347c8cd963f9aab9e02c3
parent5bb08ab9c102abf66e48d71166129deed2ec2cd1
rgw: consider this scenario, many sibling directories, and many objects under each directory.
if cls_filtered is true, tracker's entries may be the same as each other
the next_candidate operation may advance to end directly,
and only one object may be returned, this will slow down when listing sibling directories.

Signed-off-by: zealot <xzd16@sohu.com>
(cherry picked from commit 678dc395dd82ca77e46aa665a4a0c7d918c538f3)

Conflicts:
src/rgw/rgw_rados.cc

Cherry-pick notes:
- "stopped accumulating results" log line wasn't present in Pacific
src/rgw/rgw_rados.cc