]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/rados: RadosReadOp::prepare only updates object instance
authorCasey Bodley <cbodley@redhat.com>
Mon, 20 Feb 2023 22:27:28 +0000 (17:27 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 21 Nov 2023 16:09:23 +0000 (11:09 -0500)
commit6fc57159ef7e5b46e0198db98fff5c7ac8f8880c
tree2ffc09683b5b9f1f24ad4e7f96b10470d6f78415
parent01d8b4c38bdf98c2c2f8777200a1ba45a954a05d
rgw/rados: RadosReadOp::prepare only updates object instance

when called on a versioned object, prepare() may follow olh and look up
a different object instance

but when called on a multipart part, we should not overwrite the
original object name with the part's object name (of the form
mymultipart.2~_XLFNqOW0NuiALg7q4-Hi_7hdtAkZUH.1)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/driver/rados/rgw_sal_rados.cc