Bug 2316021

Summary: Deleted object still present in bucket listing
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: shilpa <smanjara>
Component: RGWAssignee: Casey Bodley <cbodley>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.1CC: anrao, cbodley, ceph-eng-bugs, cephqe-warriors, dwalveka, mkasturi, rpollack, tserlin, vimishra
Target Milestone: ---Flags: mkasturi: needinfo+
Target Release: 7.1z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-251.el9cp Doc Type: Bug Fix
Doc Text:
.Deleted objects are no longer visible to bucket listings Previously, in some cases, due to an inconsistent bucket index, deleted objects were still visible to bucket listings. With this fix, delete markers are no longer present after a bucket lifecycle policy deletion and deletion. As a result, deletion completes on both the Archive zone and Primary zone, as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-07 14:38:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description shilpa 2024-10-01 21:48:42 UTC
This bug was initially created as a copy of Bug #2314995

I am copying this bug because: 



Description of problem:

When uploads race with deletes of the same object, the bucket index may end up in an inconsistent state. If the head object's deletion happens last but its index transaction completes first, the object will still be listed by ListObjects but Head/GetObject requests will fail with 404.


Version-Release number of selected component (if applicable): 5 6 7 8


How reproducible: rarely


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Storage PM bot 2024-10-01 21:48:53 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 21 errata-xmlrpc 2024-11-07 14:38:56 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 (Red Hat Ceph Storage 7.1 security, bug fix, and enhancement updates), 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/RHBA-2024:9010

Comment 22 Red Hat Bugzilla 2025-03-08 04:25:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days