Project

General

Profile

Actions

Bug #5752

closed

osd: delayed loading of classes can be problematic if use races with upgrade

Added by Sage Weil almost 11 years ago. Updated almost 11 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

- install old osd
- start
- install new package
- try to use a class
-> old osd tries to load new cls_rgw and gets linker error:

2013-07-25 11:13:48.000738 7f4e05c3e700  0 _load_class could not open class /usr/lib/rados-classes/libcls_rgw.so (dlopen failed): /usr/lib/rados-classes/libcls_rgw.so: undefined symbol: _Z21cls_current_subop_numPv

not sure if or how we should fix this. we could load all classes present at startup time?

Actions

Also available in: Atom PDF