From: Yehuda Sadeh Date: Fri, 26 Jun 2015 20:49:55 +0000 (-0700) Subject: rgw: only scan for objects not in namespace X-Git-Tag: v9.0.2~4^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8103908548bf7d6c9fa47fb181cd450670bae8d6;p=ceph.git rgw: only scan for objects not in namespace Fixes: #11984 The tool should only work on the head objects, and these are not inside any namespace. Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index b6fdd1ccca62..2409fe5c2005 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -991,7 +991,7 @@ int do_check_object_locator(const string& bucket_name, bool fix, bool remove_bad list_op.params.delim = delim; list_op.params.marker = rgw_obj_key(marker); list_op.params.ns = ns; - list_op.params.enforce_ns = false; + list_op.params.enforce_ns = true; list_op.params.list_versions = true; f->open_array_section("check_objects");