]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: fix removal of delete markers (SAL)
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 30 Jun 2025 14:26:25 +0000 (10:26 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 30 Jun 2025 14:26:25 +0000 (10:26 -0400)
commit224821147f2664e54f81b0bb93ccd23669f31f04
tree2b40dc0d2158e41ae9cac00527d7a53c4fc73dcf
parent5aeaa104d86517f4a289f377c72c2ed63e476f76
rgwlc: fix removal of delete markers (SAL)

S3 delete markers do not have head objects, and SAL's Object::load_obj_state()
returns -ENOENT in this case.  Handle this case in LC's remove_expired_obj().

Fixes: https://tracker.ceph.com/issues/70853
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_lc.cc