]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: implicit rgw_bucket placement, manifest uses rgw_raw_obj
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 31 Oct 2016 22:56:26 +0000 (15:56 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 9 Mar 2017 17:18:52 +0000 (09:18 -0800)
commit9c1b828e838046ec955031bc1aa82df157645e6c
tree9ab5de30e5e893f67b55856c7e55d5b1ad65ae5e
parentdf534b413c37f8eed7cb6e0e45ea640950347c0a
rgw: implicit rgw_bucket placement, manifest uses rgw_raw_obj

Two main changes here:
1. Newly created rgw_bucket does not have a predetermined placement pools
assigned to it. The placement_id param in the objects themselves points
at where the data is located. This affects object's tail location, head
is located where the bucket instance's placement rule points at.
2. Modify object manifest to use rgw_raw_obj instead of rgw_obj.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
16 files changed:
src/cls/user/cls_user_types.cc
src/cls/user/cls_user_types.h
src/rgw/rgw_admin.cc
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_dencoder.cc
src/rgw/rgw_json_enc.cc
src/rgw/rgw_op.cc
src/rgw/rgw_orphan.cc
src/rgw/rgw_quota.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h
src/rgw/rgw_rest_log.cc
src/rgw/rgw_user.cc