]> 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)
committerPrashant D <pdhange@redhat.com>
Fri, 7 Jun 2019 00:57:54 +0000 (20:57 -0400)
commitc269e7f100629ecfead80f2a59fd9378fb57756d
treed1897586689ad8a3cdbe7b7a0d7f0b47ab0c0933
parent8d13c445d0ace3dd3084177e3794bb289059253a
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>
(cherry picked from commit c469e5150a3e95b547a7d05d1ae08fa88fad7159)
src/cls/user/cls_user.cc