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

Also available in: Atom PDF