]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc/sync: avoid calling merge-and-store-attrs from remove_bucket_config() 47411/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 2 Aug 2022 11:52:27 +0000 (07:52 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 2 Aug 2022 11:52:27 +0000 (07:52 -0400)
commit7dd245af49ce7d5c2d51ddf8f7890c128c32cd51
tree0627c6230f8c065a7b2b9562ccabfd44ca23ab00
parent7e12357b9486b63928a914c6fb1cfa35fd9bad6a
rgwlc/sync: avoid calling merge-and-store-attrs from remove_bucket_config()

Calling merge-and-store attrs turns out to be unsafe from the context of
the metadata sync handler--although I am doubtful that really *should* be
the case.

Fixes: https://tracker.ceph.com/issues/56997
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_lc.cc
src/rgw/rgw_lc.h