]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: remove_bucket_config() doesn't update xattrs on bucket delete
authorCasey Bodley <cbodley@redhat.com>
Fri, 11 Aug 2023 17:25:33 +0000 (13:25 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 11 Aug 2023 20:52:09 +0000 (16:52 -0400)
commite7a97d081167ee222d5d435126658cfb2841be66
tree69f1d16c11bc84df3e224aee39a12c0e73458086
parent875dae764a8a1cfb21cc3509108696a284ba4440
rgw/lc: remove_bucket_config() doesn't update xattrs on bucket delete

we're deleting the bucket instance metadata anyway, so there's no reason
to send an additional write to remove the RGW_ATTR_LC xattr first. this
write bumps the cls_version and can cause the actual delete op to fail
with ECANCELED

Fixes: https://tracker.ceph.com/issues/62411
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/driver/rados/rgw_sal_rados.cc