Project

General

Profile

Actions

Bug #47125

closed

mds: fix possible crash when the MDS is stopping

Added by Xiubo Li over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
osdc
Labels (FS):
crash
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While the MDS daemon is stopping and if it call journaler->flush(), it may be crash dues to the onsafe parameter in Journaler:flush() is NULL as default. We need to check it first before calling the onsafe->complete().


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #47252: nautilus: mds: fix possible crash when the MDS is stoppingResolvedWei-Chung ChengActions
Copied to CephFS - Backport #47253: octopus: mds: fix possible crash when the MDS is stoppingResolvedNathan CutlerActions
Actions

Also available in: Atom PDF