]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: rados->set_attrs() updates bucket index
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 23 Sep 2014 19:43:55 +0000 (12:43 -0700)
committerLoic Dachary <ldachary@redhat.com>
Mon, 2 Feb 2015 14:39:08 +0000 (15:39 +0100)
commite24f27b7b2e2aeb84b14788e8bf2757ecdf8f0c0
tree85c9625685d2b0bd2d6d772851e06d5eb77a5367
parent1ccd73a16e1829b5519ec5b83b2554af173ad052
rgw: rados->set_attrs() updates bucket index

Fixes: #5595
Backport: dumpling, firefly
We need to update the bucket index when updating object attrs, otherwise
we're missing meta changes that need to be registered. It also
solves issue of bucket index not knowing about object acl changes,
although this one still requires some more work.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit f833f12a200ecc2c4f74ddb443d6fa61b7ad14db)
src/rgw/rgw_rados.cc