Bug 2359825

Summary: [7.1z backport] rgw: tail objects are wrongly deleted in copy_object
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Matt Benjamin (redhat) <mbenjamin>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: RELEASE_PENDING --- QA Contact: Chaithra <ckulal>
Severity: urgent Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.0CC: bkunal, ceph-eng-bugs, cephqe-warriors, ckulal, ivancich, jcaratza, mkasturi, rpollack, ssalunke, tserlin, vereddy
Target Milestone: ---Flags: tserlin: needinfo? (ivancich)
jcaratza: needinfo? (mbenjamin)
Target Release: 7.1z5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-339 Doc Type: Bug Fix
Doc Text:
.Tail objects no longer wrongly deleted with `copy-object` Previously, there was a reference count invariant on tail objects that was not maintained when an object was copied to itself. This caused the existing object was changed, rather than copied. As a result, references to tail objects were being decremented. When the refcount on tail objects dropped to 0, they were deleted during the next garbage collection (GC) cycle. With this fix, the refcount on tail objects is no longer decremented when completing a copy-to-self.
Story Points: ---
Clone Of: 2356678 Environment:
Last Closed: Type: ---
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: 2356678    
Bug Blocks:    

Description Matt Benjamin (redhat) 2025-04-15 18:03:47 UTC
+++ This bug was initially created as a clone of Bug #2356678 +++