Feature #16681
openCreating EC pool using replicated ruleset should perhaps require a force flag
0%
Description
Issue description:-
While creating a EC pool if we use the ruleset "replicated_ruleset" with type "replicated", there is no error thrown and the pool creation proceeds successfully. This shouldn't be allowed, as EC pools should be created only with "ruleset type erasure"
example:-
rule replicated_ruleset {
ruleset 0
type replicated
min_size 1
max_size 10
step take default
step chooseleaf firstn 0 type host
step emit
ceph osd pool create ecpooltest1 100 erasure default replicated_ruleset
ceph osd pool get ecpooltest1 crush_ruleset
crush_ruleset: 0
Updated by Rohith Radhakrishnan over 7 years ago
any update on this? Is this behavior expected?
Updated by Samuel Just over 7 years ago
- Tracker changed from Bug to Feature
- Subject changed from Creating EC pool using replicated ruleset should not be allowed to Creating EC pool using replicated ruleset should perhaps require a force flag
Well, it'll work, it'll just cause a ton of data movement. By default, I think the normal way of creating an ec pool creates the rule too. Not sure how important this is.