Back to bug 2140784

Who When What Removed Added
Red Hat One Jira (issues.redhat.com) 2022-11-07 20:17:13 UTC Link ID Red Hat Issue Tracker RHCEPH-5571
Venky Shankar 2022-11-08 06:58:35 UTC Status NEW ASSIGNED
Assignee vshankar mchangir
Venky Shankar 2022-11-17 11:51:37 UTC Link ID Ceph Project Bug Tracker 58041
CC vshankar
Veera Raghava Reddy 2022-12-18 05:57:20 UTC CC vereddy
Red Hat Bugzilla 2022-12-31 19:50:31 UTC QA Contact hyelloji
Red Hat Bugzilla 2023-01-01 08:47:13 UTC CC vereddy
Red Hat Bugzilla 2023-01-01 08:49:25 UTC CC vshankar
Alasdair Kergon 2023-01-04 05:10:46 UTC QA Contact hyelloji
Alasdair Kergon 2023-01-04 05:57:59 UTC CC vshankar
Alasdair Kergon 2023-01-04 06:29:04 UTC CC vereddy
Red Hat Bugzilla 2023-01-09 08:29:45 UTC CC ceph-eng-bugs
Alasdair Kergon 2023-01-09 19:43:36 UTC CC ceph-eng-bugs
Greg Farnum 2023-03-23 15:47:35 UTC Flags needinfo?(vshankar)
CC gfarnum
Venky Shankar 2023-03-23 16:02:27 UTC Flags needinfo?(vshankar)
Greg Farnum 2023-04-10 14:33:41 UTC Status ASSIGNED MODIFIED
Keywords Rebase
Ken Dreyer (Red Hat) 2023-04-10 21:18:22 UTC CC kdreyer
errata-xmlrpc 2023-04-10 21:18:51 UTC Status MODIFIED ON_QA
Hemanth Kumar 2023-04-19 06:15:03 UTC Flags needinfo?(mchangir)
CC mchangir
Milind Changire 2023-04-20 02:49:03 UTC Flags needinfo?(mchangir)
Hemanth Kumar 2023-04-26 06:51:36 UTC Status ON_QA VERIFIED
Akash Raj 2023-05-03 06:31:20 UTC CC akraj
Docs Contact akraj
Flags needinfo?(mchangir)
Milind Changire 2023-05-03 07:59:26 UTC Flags needinfo?(mchangir)
Milind Changire 2023-05-03 08:00:58 UTC Flags needinfo?(xiubli)
CC xiubli
Xiubo Li 2023-05-04 00:43:50 UTC Doc Text Cause:

There is racy between unlink and creating operations.

Consequence:

And also if the previous unlink request has been delayed due to some reasons, and the new creating for the same dentry may fail by crashing the MDS daemons or new open will succeeds but new contents wrote to it will be lost.


Fix:

Just wait unlink to finish to avoid conflict when creating same dentries.


Result:
Doc Type If docs needed, set a value Bug Fix
Flags needinfo?(xiubli)
Akash Raj 2023-05-08 02:41:57 UTC Blocks 2192813
Akash Raj 2023-05-16 04:06:49 UTC Doc Text Cause:

There is racy between unlink and creating operations.

Consequence:

And also if the previous unlink request has been delayed due to some reasons, and the new creating for the same dentry may fail by crashing the MDS daemons or new open will succeeds but new contents wrote to it will be lost.


Fix:

Just wait unlink to finish to avoid conflict when creating same dentries.


Result:
.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.
Flags needinfo?(mchangir) needinfo?(xiubli)
Xiubo Li 2023-05-16 04:35:56 UTC Flags needinfo?(xiubli)
errata-xmlrpc 2023-06-15 09:08:07 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-06-15 09:16:13 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2023-06-15 09:16:13 UTC
errata-xmlrpc 2023-06-15 09:16:59 UTC Link ID Red Hat Product Errata RHSA-2023:3623

Back to bug 2140784