From: Matt Benjamin Date: Wed, 29 Apr 2020 12:00:55 +0000 (-0400) Subject: rgw: lc: restore unordered listing X-Git-Tag: v15.2.5~56^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3817b26ed909c026753696907ae9575f2f65b9bc;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 (cherry picked from commit f366ddb31113a826d2b5cfb45177c23cda83d995) --- diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index 4a475ad7c4a..736b576969e 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"); }