]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/user: cls_user_set_buckets_info overwrites creation_time
authorCasey Bodley <cbodley@redhat.com>
Wed, 8 May 2019 18:35:25 +0000 (14:35 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 8 May 2019 20:10:49 +0000 (16:10 -0400)
commitc469e5150a3e95b547a7d05d1ae08fa88fad7159
treea8cc113fe353bc7c7b2dea75231102b3a78607c3
parentb9f4cb277a85f7f9ece2b9695fc1dfc001db277e
cls/user: cls_user_set_buckets_info overwrites creation_time

metadata sync of a new bucket entrypoint may call rgw_link_bucket()
(which in turn calls into cls user) without deleting/unlinking the
previous bucket entrypoint. this prevented the new bucket entrypoint
from overwriting the creation_time of the old one

Fixes: http://tracker.ceph.com/issues/39635
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/cls/user/cls_user.cc