Project

General

Profile

Bug #24306

mds: use intrusive_ptr to manage Message life-time

Added by Patrick Donnelly almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
task(easy), task(intern)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We're regularly getting bugs relating to messages not getting released. Latest one is #24289.

Use a boost::intrusive_ptr to manage the lifetime.


Related issues

Related to CephFS - Bug #24289: mds memory leak Resolved 05/25/2018
Related to RADOS - Fix #3500: mon: use new MessageRef and intrusive_ptr's throughout the Monitor's message handling New 11/16/2012
Related to CephFS - Cleanup #26960: mds: avoid modification of const Messages New
Related to CephFS - Cleanup #37864: client: use Message smart ptr to manage Message lifetime Resolved

History

#1 Updated by Patrick Donnelly almost 6 years ago

#2 Updated by Patrick Donnelly almost 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Patrick Donnelly

#4 Updated by Patrick Donnelly over 5 years ago

  • Related to Fix #3500: mon: use new MessageRef and intrusive_ptr's throughout the Monitor's message handling added

#5 Updated by Patrick Donnelly over 5 years ago

  • Status changed from In Progress to Resolved

#6 Updated by Patrick Donnelly about 5 years ago

  • Related to Cleanup #26960: mds: avoid modification of const Messages added

#7 Updated by Patrick Donnelly about 5 years ago

  • Related to Cleanup #37864: client: use Message smart ptr to manage Message lifetime added

Also available in: Atom PDF