Kanagaraj M has posted comments on this change.

Change subject: engine: fail stop volume if rebalance is running
......................................................................


Patch Set 1:

(1 comment)

new patch set to follow

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/StopGlusterVolumeCommand.java
Line 45:             addCanDoActionMessage(String.format("$volumeName %1$s", 
volume.getName()));
Line 46:             return false;
Line 47:         }
Line 48: 
Line 49:         if (volume.getAsyncTask() != null && 
volume.getAsyncTask().getStatus() == JobExecutionStatus.STARTED) {
Done
Line 50:             if (volume.getAsyncTask().getType() == 
GlusterTaskType.REBALANCE) {
Line 51:                 return 
failCanDoAction(VdcBllMessages.ACTION_TYPE_FAILED_GLUSTER_VOLUME_CANNOT_STOP_REBALANCE_IN_PROGRESS);
Line 52:             }
Line 53:         }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6deb52b358b2ef78c5f41df29d866085bdedb371
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to