]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: convert bucket info if needed
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 7 Jan 2014 02:32:42 +0000 (18:32 -0800)
committerSage Weil <sage@inktank.com>
Fri, 10 Jan 2014 18:08:53 +0000 (10:08 -0800)
commitee9fc590a556354b54a174a4790c4142949d7409
tree28ba4903119f1065b5842b6ef2851035613dab47
parent69a99e6edd67aadaea77fb5ebcf46190dbfcdbc6
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>
(cherry picked from commit a5f8cc7ec9ec8bef4fbc656066b4d3a08e5b215b)
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