Description of problem:
-----------------------
Replace brick operation with data migration has been deprecated.
And this support for "replace-brick" with data migration should be removed from gluster-cli
Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHS 2.1 Update2 - glusterfs-3.4.0.59rhs-1.el6rhs
How reproducible:
-----------------
Not Applicable
Steps to Reproduce:
-------------------
Not Applicable
Actual results:
---------------
replace-brick with data migration was allowed from gluster-cli
Expected results:
-----------------
replace-brick with data migration should not be allowed
Additional info:
----------------
I ran in to data corruption / data loss cases, when performing replace brick using "replace-brick" command.
It is high-time to disable this replace-brick with data migration from gluster-cli
But replace-brick with force commit could be a useful scenario, where the dead brick could be replaced with new brick, without data migration.
So, replace-brick with "commit force", should only allowed from gluster-cli
Comment 1Nagaprasad Sathyanarayana
2014-05-06 11:43:37 UTC