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 #1

Updated by Xiubo Li over 3 years ago

  • Status changed from New to In Progress

Before I have hit one crash without any useful logs months ago, just be possible caused by this.

Actions #2

Updated by Xiubo Li over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36777
Actions #3

Updated by Patrick Donnelly over 3 years ago

  • Target version set to v16.0.0
  • Source set to Development
  • Backport set to octopus,nautilus
Actions #4

Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47252: nautilus: mds: fix possible crash when the MDS is stopping added
Actions #6

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47253: octopus: mds: fix possible crash when the MDS is stopping added
Actions #7

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF