]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: convert bucket info if needed 1062/head
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 7 Jan 2014 02:32:42 +0000 (18:32 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Thu, 9 Jan 2014 17:00:05 +0000 (09:00 -0800)
commita5f8cc7ec9ec8bef4fbc656066b4d3a08e5b215b
tree515d3f8e786953e7046bf708acb68729dc1d894f
parent7a89c678a22ada440cc2f12a52be01557063a703
rgw: convert bucket info if needed

Fixes: #7110
In dumpling, the bucket info was separated into bucket entry point and
bucket instance objects. When setting bucket attrs we only ended up
updating the bucket instance object. However, pre-dumpling buckets still
keep everything at the entry-point object, so acl changes didn't affect
anything (because we never updated the entry point). This change just
converts the bucket info into the new format.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h