]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: move publish_complete() back to RGWCompleteMultipart::execute()
authorCasey Bodley <cbodley@redhat.com>
Fri, 3 May 2024 19:43:39 +0000 (15:43 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 3 May 2024 19:56:13 +0000 (15:56 -0400)
commitebb37c7bb3aee4663220054c6516164bf046fa8c
tree9ed292d557fe490c8f439c0e6236b6d02930adeb
parent91dc7f3be945dccd8f59e070e9bc43a2a5df12db
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>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h