]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket link: Add ability to name bucket w/ different tenant.
authorMarcus Watts <mwatts@redhat.com>
Tue, 21 Aug 2018 22:09:33 +0000 (18:09 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 30 Jul 2019 08:30:45 +0000 (14:00 +0530)
commitedc18a56d2fbc1c6b8e4e8ae950ab354c7df40f0
treeae08afdf846a96b049c06bb4a2e943bd8839b1db
parent7f4cc1d21b2dbda60e5ffa96f905b858d56e9303
rgw: bucket link: Add ability to name bucket w/ different tenant.

This is not a complete fix; but it makes it possible for the
bucket link command to correctly find and attempt to link a bucket
to a user with a different tenant.  The reason this is not a complete
fix is that with just this change, the resulting bucket is "broken";
a duplicate endpoint but 0 length contents is created, and
the info entry is not correctly moved.

Fixes: http://tracker.ceph.com/issues/35885
Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_rest_bucket.cc