Project

General

Profile

Bug #21737

OSDMap cache assert on shutdown

Added by Greg Farnum over 1 year ago. Updated 10 months ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Code Hygiene
Target version:
-
Start date:
10/09/2017
Due date:
% Done:

0%

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

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

Copied to RADOS - Backport #21785: luminous: OSDMap cache assert on shutdown Resolved
Copied to RADOS - Backport #21786: jewel: OSDMap cache assert on shutdown Resolved

History

#1 Updated by Ken Dreyer over 1 year ago

  • Backport set to luminous

#2 Updated by Greg Farnum over 1 year ago

  • Status changed from New to Need Review

#3 Updated by Greg Farnum over 1 year ago

  • Backport changed from luminous to luminous, jewel

#4 Updated by Greg Farnum over 1 year ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler over 1 year ago

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

#6 Updated by Nathan Cutler over 1 year ago

#7 Updated by Greg Farnum 11 months ago

  • Assignee deleted (Greg Farnum)

#8 Updated by Nathan Cutler 10 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF