]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: move publish_complete() back to RGWCompleteMultipart::execute() 57300/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 3 May 2024 19:43:39 +0000 (15:43 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 6 May 2024 17:20:56 +0000 (13:20 -0400)
commit3ddaa6a3e96db9b8fd6f1c3c79594e202fc9ec7f
tree7821b61bb037f3ffbbea06ceef4823abc6958c4f
parentde089de0cbd5dac6b4b9d547a2d6464e63c15b28
rgw: move publish_complete() back to RGWCompleteMultipart::execute()

move publish_complete() and meta_obj->delete_object() back to execute()
so they only run on success. this allows several member variables to
move back to execute()'s stack as well

Fixes: https://tracker.ceph.com/issues/65746
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ebb37c7bb3aee4663220054c6516164bf046fa8c)
src/rgw/rgw_op.cc
src/rgw/rgw_op.h