]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: user rename calls update() to write final user
authorCasey Bodley <cbodley@redhat.com>
Tue, 6 Aug 2019 15:09:03 +0000 (11:09 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 7 Aug 2019 20:25:12 +0000 (16:25 -0400)
commitcfabb2f05f6048ad2a8110d8eefb0610a8d36e15
tree827342c418e3b8b6895e39791d880236475bad08
parentc7ea6dc6d6838e2b74f19e548e8135e4cbf05770
rgw: user rename calls update() to write final user

this calls remove_old_indexes() to clean up the uid and buckets index
objects, and also sets 'old_info = user_info' so that radosgw-admin
dumps the json output of the renamed user instead of the old user

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_user.cc