]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: move publish_complete() back to RGWCompleteMultipart::execute() 57301/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 3 May 2024 19:43:39 +0000 (15:43 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 8 Aug 2024 20:46:17 +0000 (16:46 -0400)
commit01374603aeccfe71d0b9fb9b4daa22f856957190
tree08d733efa072d6b5d2d0f07e177135e647350199
parentcbe75cebb3b58bd1f5d07666b066541c6e50d055
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