Description of problem: remove-brick stage op ret value is not set correctly in case of staging failure. The side effect to the above is remove-brick commit op actually doesn't fail even if the migration is in progress. Version-Release number of selected component (if applicable): mainline How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
REVIEW: https://review.gluster.org/18868 (glusterd: set ret to -1 for different stage failures) posted (#1) for review on master by Atin Mukherjee