]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: take placement_rule from bucket info in update_containers_stats
authorCasey Bodley <cbodley@redhat.com>
Tue, 31 Oct 2017 20:26:54 +0000 (16:26 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 6 Nov 2017 12:35:37 +0000 (13:35 +0100)
commit338248a8b376074c0f43b626e9f69fc59ee26487
tree1eefd5d8632d4cbb4849d7967f35e89d50b37625
parenta5899a57e4f077f4061fc2aa33a61377de7ac025
rgw: take placement_rule from bucket info in update_containers_stats

in case the cls_user_bucket_entry doesn't contain a placement_rule, take
it from the bucket instance info

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 531195d80d5bac774d58b210307eb19b57d26345)
src/rgw/rgw_rados.cc