]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: LCOpAction_CurrentExpiration checks mtime for delete markers 65664/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 24 Sep 2025 17:20:09 +0000 (13:20 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 24 Sep 2025 18:14:18 +0000 (14:14 -0400)
commit102eaa833d2b0c89a95a0e06876a16b3e2e6c6d8
treee1cd650bdcf52d9736304ef6904a486f8b4910b5
parent8afc88cf41fe04c0084daa8e27da51bdcfb9fc2c
rgw/lc: LCOpAction_CurrentExpiration checks mtime for delete markers

the unconditional 'return true' for delete markers was causing check()
to ignore the lifecycle policy's "Days" field, causing delete markers to
be expired and removed prematurely

instead of the early return, fall through to the mtime/size comparisons
used for normal objects

Fixes: https://tracker.ceph.com/issues/73240
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_lc.cc