From: Matt Benjamin Date: Wed, 29 Apr 2020 12:00:55 +0000 (-0400) Subject: rgw: lc: restore unordered listing X-Git-Tag: v16.1.0~2298^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f366ddb31113a826d2b5cfb45177c23cda83d995;p=ceph.git rgw: lc: restore unordered listing With current sharding strategy, a delete marker is always coresident with all corresponding objects, including noncurrent, so unordered listing -is- compatible with lookahead. Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index 57aa499b1ea0..3d918e18aa23 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -431,6 +431,7 @@ public: store(_store), bucket_info(_bucket_info), target(store->getRados(), bucket_info), list_op(&target) { list_op.params.list_versions = bucket_info.versioned(); + list_op.params.allow_unordered = true; delay_ms = store->ctx()->_conf.get_val("rgw_lc_thread_delay"); }