]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove placement_rule from rgw_link_bucket()
authorCasey Bodley <cbodley@redhat.com>
Tue, 31 Oct 2017 20:29:31 +0000 (16:29 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 6 Nov 2017 12:35:40 +0000 (13:35 +0100)
commit17cc13b87b5378bf03e2b0b52c274772ebaf08ef
tree662cdeb3203b168de135d4b3cb12c952eac7f203
parent338248a8b376074c0f43b626e9f69fc59ee26487
rgw: remove placement_rule from rgw_link_bucket()

with the fallback in RGWRados::update_containers_stats(), we no longer
need to pass placement_rule into the cls_user_bucket_entry

this removes the dependency between bucket entrypoint metadata and its
bucket instance metadata during multisite sync

Fixes: http://tracker.ceph.com/issues/21990
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit dd5d278a4f9b080234cbb77e448208803ec0cf93)
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_op.cc