diff options
author | Vishal Pandey <vpandey@redhat.com> | 2019-08-07 12:53:06 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-08-25 05:19:11 +0000 |
commit | 093c66a0af496301e5d28d55f4fe57362cb399d5 (patch) | |
tree | 03ef095f05dc55fe97b7bf691d5244c478c256ba /xlators/cluster/ec/src/ec-method.h | |
parent | 30e83561b8dcced2593deb904688177fcd4ff0e0 (diff) |
glusterd: Add warning and abort in case of failures in migration during remove-brick commitheal-info
Problem -
Currently remove-brick commit goes through even though there were files
that failed to migrate or were skipped. There is no warning raised to the user.
Solution-
Add a check in the remove brick staging phase to verify if the status of the
rebalnce process is complete but there has been failures or some skipped files
while migration, In this case user will be given a warning and remove-brick
commit. User will need to use the force option to remove the bricks.
Fixes: bz#1514683
Signed-offby- Vishal Pandey <vpandey@redhat.com>
Change-Id: I014d0f0afb4b2fac35ab0de52227f98dbae079d5
Diffstat (limited to 'xlators/cluster/ec/src/ec-method.h')
0 files changed, 0 insertions, 0 deletions