Bug 2140784

Summary: [CEE] cephfs mds crash /builddir/build/BUILD/ceph-16.2.8/src/mds/Server.cc: In function 'CDentry* Server::prepare_stray_dentry(MDRequestRef&, CInode*)' thread 7feb58dcd700 time 2022-11-06T13:26:27.233738+0000
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: George Law <glaw>
Component: CephFSAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: medium Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.2CC: akraj, ceph-eng-bugs, cephqe-warriors, gfarnum, kdreyer, mchangir, vereddy, vshankar, xiubli
Target Milestone: ---Keywords: Rebase
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
.Creating same dentries after the unlink finishes does not crash the MDS daemons Previously, there was a racy condition between unlink and creating operations. Due to this, if the previous unlink request was delayed due to any reasons, and creating same dentries was attempted during this time, it would fail by crashing the MDS daemons or new creation would succeed but the written content would be lost. With this fix, users need to ensure to wait until the unlink finishes, to avoid conflict when creating the same dentries.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:16:13 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: 2192813    

Comment 14 Ken Dreyer (Red Hat) 2023-04-10 21:18:22 UTC
https://github.com/ceph/ceph/pull/48452 is available in v17.2.6.

Comment 28 errata-xmlrpc 2023-06-15 09:16:13 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 6.1 security and bug fix update), 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:3623

Comment 29 Red Hat Bugzilla 2023-11-11 04:25:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days