Bug #19836
crush: encode weight_set in a pre-weight-set crushmap
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
make crushwrapper encode a "legacy" crushmap if (1) we're using weight sets, (2) the client is lacking features for the weight set, but (3) the weight set has a single position and no id remapping. Since these maps are only used by clients (not humans), then i don't think there's any need to preserve the original crush weights in a shadow hierarchy; we can just swpa them for the real weights and the legacy clients wll behave as expected. a helper can tell us whether this is possible so that we gate any commands that inject crush map on a compat option.
History
#1 Updated by Loïc Dachary almost 7 years ago
- Description updated (diff)
#2 Updated by Loïc Dachary almost 7 years ago
- Source set to Development
#3 Updated by Loïc Dachary almost 7 years ago
#4 Updated by Loïc Dachary almost 7 years ago
- Status changed from In Progress to 7
#5 Updated by Sage Weil almost 7 years ago
- Status changed from 7 to Resolved