]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: append the currect bucket marker when removing bucket
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 8 Mar 2012 06:52:24 +0000 (22:52 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 8 Mar 2012 06:52:24 +0000 (22:52 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/rgw/rgw_rados.cc

index 67f115415c15ad1ebd4671e39df73b4c603dd981..6b10ff744d7268a412a91934c6b29c571cb04482 100644 (file)
@@ -978,7 +978,7 @@ int RGWRados::delete_bucket(rgw_bucket& bucket)
   ObjectWriteOperation op;
   op.remove();
   string oid = dir_oid_prefix;
-  oid.append(marker);
+  oid.append(bucket.marker);
   librados::AioCompletion *completion = rados->aio_create_completion(NULL, NULL, NULL);
   r = list_ctx.aio_operate(oid, completion, &op);
   completion->release();