]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
RGW - Make admin bucket chown accept marker 45506/head
authorDaniel Gryniewicz <dang@redhat.com>
Thu, 17 Mar 2022 14:35:51 +0000 (10:35 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Thu, 17 Mar 2022 14:35:51 +0000 (10:35 -0400)
The bucket chown command needs to touch every object, and if it fails
can take a long time to catch up.  Allow it to accept the --marker
option so you can tell it where to pick up.

Fixes: https://tracker.ceph.com/issues/53614
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
src/rgw/rgw_admin.cc

index 3ea1119e0ff807b18db40b1384d47384266e7810..c9695d418294612ddbe72af2840b60df272c3fd6 100644 (file)
@@ -6807,7 +6807,6 @@ int main(int argc, const char **argv)
     bucket_op.set_bucket_name(bucket_name);
     bucket_op.set_new_bucket_name(new_bucket_name);
     string err;
-    string marker;
 
     int r = RGWBucketAdminOp::chown(store, bucket_op, marker, dpp(), &err);
     if (r < 0) {