]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw_admin: we do want to set markers on these buckets
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 28 Sep 2011 21:33:55 +0000 (14:33 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 29 Sep 2011 20:46:11 +0000 (13:46 -0700)
Commit 25499b644b1c5a7b6f4c8876261334dda10fbec3 introduced the initial
work for pool sharing and markers, but didn't set radosgw_admin to
use that infrastructure. We definitely want to be doing so, though,
since radosgw_admin isn't creating system buckets. Do so.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/rgw/rgw_admin.cc

index 524b54047900cc2384dd7f86ae3c9c51e86a21bf..3fcf462c5d20f83e3784931e0f427ad992080eae 100644 (file)
@@ -343,7 +343,7 @@ static int create_bucket(string bucket_str, string& user_id, string& display_nam
 
   rgw_bucket& bucket = bucket_info.bucket;
 
-  ret = rgwstore->create_bucket(user_id, bucket, attrs, false, false, auid);
+  ret = rgwstore->create_bucket(user_id, bucket, attrs, false, true, auid);
   if (ret && ret != -EEXIST)   
     goto done;