]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
Fix lifecycle transition of encrypted multipart objects.
authorMarcus Watts <mwatts@redhat.com>
Sat, 25 May 2024 03:45:14 +0000 (23:45 -0400)
committerMarcus Watts <mwatts@redhat.com>
Thu, 16 Oct 2025 20:44:40 +0000 (16:44 -0400)
commit5558abb1967939ac061bbd6bb72a77c74429997e
treeb543bfeab2df6527f906104d3b685db3f43acc3e
parentedbf247a18e93ecab5465c74126c190119be939a
Fix lifecycle transition of encrypted multipart objects.

Lifecycle transtion can copy objects to a different storage tier.
When this happens, since the object is repacked, the original
manifest is invalidated.  It is necessary to store a special
"parts_len" attribute to fix this.  There was code in PutObj
to handle this, but that was only used for multisite replication,
it is not used by the lifecycle transisiton code.  This fix
adds similar logic to the lifecycle transition code path to make the
same thing happen.

Fixes: https://tracker.ceph.com/issues/23264
Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/rgw/driver/rados/rgw_rados.cc