Back to bug 2189132

Who When What Removed Added
Bipin Kunal 2023-04-24 10:23:41 UTC Group redhat_partner_engineers, redhat
Red Hat One Jira (issues.redhat.com) 2023-04-24 10:24:58 UTC Link ID Red Hat Issue Tracker RHCEPH-6512
Bipin Kunal 2023-04-24 10:31:09 UTC Dependent Products Red Hat OpenShift Container Storage, Red Hat OpenShift Data Foundation
Bipin Kunal 2023-04-24 10:33:08 UTC Blocks 2189134
Bipin Kunal 2023-04-26 16:10:20 UTC Target Release 6.1z1 6.1
Bipin Kunal 2023-04-26 16:13:05 UTC Flags needinfo?(vshankar)
Venky Shankar 2023-04-26 16:19:11 UTC Flags needinfo?(vshankar)
Vikhyat Umrao 2023-04-26 18:40:05 UTC CC vumrao
Bipin Kunal 2023-05-02 12:52:04 UTC Flags needinfo?(gfarnum)
CC gfarnum
Greg Farnum 2023-05-02 13:19:21 UTC Flags needinfo?(gfarnum)
Venky Shankar 2023-05-09 04:24:08 UTC Target Release 6.1 6.1z1
Hemanth Kumar 2023-05-29 10:32:39 UTC QA Contact hyelloji amk
Venky Shankar 2023-06-15 07:25:53 UTC Status NEW ASSIGNED
Assignee vshankar xiubli
Greg Farnum 2023-07-12 01:57:25 UTC Status ASSIGNED POST
Hemanth Kumar 2023-07-12 04:58:24 UTC Status POST MODIFIED
Flags needinfo?(amk)
Flags needinfo?(vereddy)
CC amk, tserlin, vereddy
Fixed In Version ceph-17.2.6-87.el9cp
CC hyelloji
Hemanth Kumar 2023-07-12 05:03:14 UTC Flags needinfo?(amk) needinfo?(vereddy)
errata-xmlrpc 2023-07-12 05:17:21 UTC Status MODIFIED ON_QA
Akash Raj 2023-07-13 17:40:35 UTC CC akraj
Docs Contact akraj
Blocks 2221020
Flags needinfo?(xiubli)
Xiubo Li 2023-07-14 00:58:22 UTC Doc Type If docs needed, set a value Bug Fix
Flags needinfo?(xiubli)
Doc Text Cause:

When replaying the journals, if the inodetable or the sessionmap
versions do not match, the CInode will be added to the inode_map, but the ino may still be in the inodetable or sessions' prealloc inos list.

Consequence:

So when allocating new ino# if the corresponding CInode already in the inode_map the MDS will crash.

Fix:

So when allocating new CInode we should skip them.


Result:

MDS won't crash when allocating the ino#.
Akash Raj 2023-07-14 10:50:36 UTC Doc Text Cause:

When replaying the journals, if the inodetable or the sessionmap
versions do not match, the CInode will be added to the inode_map, but the ino may still be in the inodetable or sessions' prealloc inos list.

Consequence:

So when allocating new ino# if the corresponding CInode already in the inode_map the MDS will crash.

Fix:

So when allocating new CInode we should skip them.


Result:

MDS won't crash when allocating the ino#.
.MDS no longer crashes when allocating `CInode`

Previously, when replaying the journals, if the `inodetable` or the `sessionmap`
versions did not match, the `CInode` would be added to the _inode_map_. But the ino may still be in the `inodetable` or `sessions' `prealloc inos` list. Due to this, when allocating a new ino number, if the corresponding `CInode` was already in the _inode_map_, the MDS would crash.

With this fix, allocating ino# is skipped when allocating the new `CInode` and the MDS does not crash.
Amarnath 2023-07-17 11:18:22 UTC Status ON_QA VERIFIED
Red Hat Bugzilla 2023-08-03 08:30:47 UTC Group redhat, redhat_partner_engineers
CC ocs-bugs
errata-xmlrpc 2023-08-03 16:32:28 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-08-03 16:45:09 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2023-08-03 16:45:09 UTC
errata-xmlrpc 2023-08-03 16:46:18 UTC Link ID Red Hat Product Errata RHBA-2023:4473

Back to bug 2189132