Bug 2118295

Summary: rgwlc: fix lc head marker point to non-exist lc entry
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Matt Benjamin (redhat) <mbenjamin>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 4.3CC: akraj, anarnold, cbodley, ceph-eng-bugs, cephqe-warriors, ckulal, kbader, kkeithle, mbenjamin, mkasturi, vereddy
Target Milestone: ---   
Target Release: 5.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.10-8.el8cp Doc Type: Bug Fix
Doc Text:
.New logic in processing of lifecycle shards prevents stalling due to deleted buckets Previously, changes were made to cause lifecycle processing to continuously cycle across days, that is, to not restart from the beginning of the list of eligible buckets each day. However, the changes contained a bug which could stall processing of lifecycle shards that contained deleted buckets, causing the processing of lifecycle shards to stall. With this release, a logic is introduced to skip over the deleted buckets, due to which the processing no longer stalls.
Story Points: ---
Clone Of:
: 2118327 (view as bug list) Environment:
Last Closed: 2023-01-11 17:41:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2118327, 2126049    

Description Matt Benjamin (redhat) 2022-08-15 12:12:14 UTC
Fix a special case in new lifecycle workflow in which progress
processing an lc shard can stall indefinitely.

From upstream committer:
"After a single-bucket run and its lc entry is removed since the
bucket is deleted, we will have lc shard object's head marker
point to a non-exist lc entry. Finally, buckets that are hashed
to this lc shard can not have any lifecycle progress. Fix it
by skipping the non-exist marker."

Comment 76 errata-xmlrpc 2023-01-11 17:41:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.3 security update and Bug Fix), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:0076