Project

General

Profile

Actions

Bug #21737

closed

OSDMap cache assert on shutdown

Added by Greg Farnum over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Code Hygiene
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous, jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
OSD
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We don't want users to hit asserts if we've leaked memory references on shutdown. For instance:

    -1> 2017-10-04 18:00:36.061972 7fdffe78d800 -1 leaked refs:
dump_weak_refs 0x5595a82d8cb0 weak_refs: 207607 = 0x5595ca644480 with 2 refs

     0> 2017-10-04 18:00:36.063904 7fdffe78d800 -1 ./common/shared_cache.hpp: In function 'SharedLRU<K, V, C, H>::~SharedLRU() [with K = unsigned int; V = const OSDMap; C = std::less<unsigned int>; H = std::hash<unsigned int>]' thread 7fdffe78d800 time 2017-10-04 18:00:36.061988

Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=1498608


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #21785: luminous: OSDMap cache assert on shutdownResolvedShinobu KinjoActions
Copied to RADOS - Backport #21786: jewel: OSDMap cache assert on shutdownResolvedNathan CutlerActions
Actions #1

Updated by Ken Dreyer over 6 years ago

  • Backport set to luminous
Actions #2

Updated by Greg Farnum over 6 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Greg Farnum over 6 years ago

  • Backport changed from luminous to luminous, jewel
Actions #4

Updated by Greg Farnum over 6 years ago

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

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21785: luminous: OSDMap cache assert on shutdown added
Actions #6

Updated by Nathan Cutler over 6 years ago

Actions #7

Updated by Greg Farnum about 6 years ago

  • Assignee deleted (Greg Farnum)
Actions #8

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF