Skip to content

rgw/lc: LCOpAction_CurrentExpiration checks mtime for delete markers - #65664

Merged
cbodley merged 1 commit into
ceph:mainfrom
cbodley:wip-73240
Oct 15, 2025
Merged

cbodley merged 1 commit into
ceph:mainfrom
cbodley:wip-73240

Conversation

@cbodley

@cbodley cbodley commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

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

Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

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 <[email protected]>
@cbodley
cbodley requested a review from a team as a code owner September 24, 2025 18:15
@github-actions github-actions Bot added the rgw label Sep 24, 2025

@mattbenjamin mattbenjamin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@phlogistonjohn

Copy link
Copy Markdown
Contributor

jenkins test container make check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants