From 80ba05e8ef8bbfc5e74fca5817f0170e8080d6c3 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 28 Sep 2011 14:33:55 -0700 Subject: [PATCH] radosgw_admin: we do want to set markers on these buckets 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 --- src/rgw/rgw_admin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 524b54047900c..3fcf462c5d20f 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -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; -- 2.39.5