Project

General

Profile

Actions

Fix #9778

open

forbid erasure code profile modifications that can modify data encoding

Added by Loïc Dachary over 9 years ago. Updated over 9 years ago.

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

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

even if --force is set in erasure-code-profile set because it can corrupt the content of the erasure coded pool. For instance changing k=2, m=1 to k=3, m=3 is disruptive.

Given the current state of the plugins, the --force option should probably be removed because it will either do nothing (ruleset-* for instance because the erasure coded ruleset has already been created and will not be modified accordingly) or force new PG to encode using parameters that are different from those used by PG created prior to the change

Is there a usecase where --force could be needed ?

Actions #1

Updated by Loïc Dachary over 9 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF