Bug 2161483

Summary: mds: md_log_replay thread (replay thread) can remain blocked
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Venky Shankar <vshankar>
Component: CephFSAssignee: Venky Shankar <vshankar>
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, hyelloji, kdreyer
Target Milestone: ---Keywords: Rebase
Target Release: 6.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
.MDLog replay thread does not deadlock anymore and log events get replayed as expected Previously, a bug in the MDS journaler machinery would cause the MDLog replay thread to infinitely block. Due to this, MDLog replayer thread would infinitely block causing log events from being replayed. With this fix, the race condition that causes the thread to get deadlock is never hit. This is done by refactoring the logic that acquires locks. MDLog replay thread does not deadlock anymore and log events get replayed as expected.
Story Points: ---
Clone Of: 2161481 Environment:
Last Closed: 2023-06-15 09:16:27 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: 2161481    
Bug Blocks:    

Comment 2 Ken Dreyer (Red Hat) 2023-04-10 21:33:56 UTC
https://github.com/ceph/ceph/pull/49672 is in v17.2.6

Comment 9 errata-xmlrpc 2023-06-15 09:16:27 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