Bug 2343968

Summary: tools/cephfs/DataScan: test and handle multiple duplicate injected primary links to a directory
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Greg Farnum <gfarnum>
Component: CephFSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: sumr
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.1CC: bkunal, ceph-eng-bugs, cephqe-warriors, ngangadh, pdonnell, rpollack, sumr, tserlin, vereddy, vshankar
Target Milestone: ---   
Target Release: 8.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-19.2.1-178.el9cp Doc Type: Bug Fix
Doc Text:
.`cephfs-data-scan` during disaster recovery now completes as expected Previously, in some cases, the `cephfs-data-scan` ran during disaster recovery but did not create a missing directory fragment from the backtraces or create duplicate links. As a result, directories were inaccessible or crashed the MDS. With this fix, `cephfs-data-scan` now properly recreates missing directory fragments and corrects the duplicate links, as expected.
Story Points: ---
Clone Of: 2342728 Environment:
Last Closed: 2025-06-26 12:24:59 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:
Bug Depends On: 2351689    
Bug Blocks: 2342033, 2342728, 2342729, 2343973    

Description Greg Farnum 2025-02-05 14:15:44 UTC
+++ This bug was initially created as a clone of Bug #2342728 +++

Comment 2 Storage PM bot 2025-02-05 14:16:04 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 13 errata-xmlrpc 2025-06-26 12:24:59 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 (Important: Red Hat Ceph Storage 8.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/RHSA-2025:9775