]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fix mp upload obj leak due to reupload
authorYixin Jin <yjin77@yahoo.ca>
Wed, 11 Jan 2023 18:03:37 +0000 (18:03 +0000)
committerYixin Jin <yjin77@yahoo.ca>
Thu, 26 Jan 2023 19:42:34 +0000 (19:42 +0000)
commit4cc0db62d45d9aba2651e86aed931c4f59b721c7
tree7dc219a14a2d5f43a91f1a81a34abc284afbd5d4
parent2ac63de15bcd59cd45a4f05c4af6297995aee944
rgw: Fix mp upload obj leak due to reupload

1. Replace the ugly dynamic_cast with the call
of obj_to_raw() to access the raw meta obj.

Fixes: https://tracker.ceph.com/issues/16767
Signed-off-by: Yixin Jin <yjin77@yahoo.ca>
src/rgw/driver/rados/rgw_putobj_processor.cc