Bug #19836
crush: encode weight_set in a pre-weight-set crushmap
Start date:
05/03/2017
Due date:
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
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 Loic Dachary 12 months ago
- Description updated (diff)
#2 Updated by Loic Dachary 12 months ago
- Source set to Development
#3 Updated by Loic Dachary 12 months ago
#4 Updated by Loic Dachary 12 months ago
- Status changed from In Progress to Testing