Project

General

Profile

Actions

Bug #38624

open

crush: get_rule_weight_osd_map does not handle multi-take rules

Added by Sage Weil about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Introspection/Control
Target version:
-
% Done:

0%

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

Description

CrushWrapper::get_rule_weight_osd_map() does not handle multi-take rules well. for example, a take 1 (primary) and take 2 (replicas) will miscalculate the usage ratio, leading to a misleading MAX AVAIL in 'ceph df'. That calculation should also take the pool size into account, since a rule might be take 2, take 2, but have replica size 3.

Actions #1

Updated by Greg Farnum over 4 years ago

  • Priority changed from High to Normal
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF