Change in ovirt-engine[master]: restapi: Commit remove brick if migrate executed

kmayilsa at redhat.com kmayilsa at redhat.com
Thu Nov 14 09:56:57 UTC 2013


Kanagaraj M has submitted this change and it was merged.

Change subject: restapi: Commit remove brick if migrate executed
......................................................................


restapi: Commit remove brick if migrate executed

Modified the DELETE action which checks if there was a data migration
executed on the set of bricks being deleted. If so it executes the
commit operation on the same set of bricks.
If there was no migration executed earlier, its effectively a force
remove brick.

Change-Id: I7830749bb84f61dd1a80281d3abe6dc113150fd1
Signed-off-by: Shubhendu Tripathi <shtripat at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBricksResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterBricksResourceTest.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/gluster/GlusterTestHelper.java
3 files changed, 75 insertions(+), 15 deletions(-)

Approvals:
  Shubhendu Tripathi: Verified
  Kanagaraj M: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21043
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7830749bb84f61dd1a80281d3abe6dc113150fd1
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list