Sahina Bose has posted comments on this change.

Change subject: engine:Start Rebalance Gluster volume command
......................................................................


Patch Set 15:

(3 comments)

Patchset to follow with changes

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/StartRebalanceGlusterVolumeCommand.java
Line 51:                 || (glusterVolume.getVolumeType() == 
GlusterVolumeType.STRIPE && glusterVolume.getBricks().size() <= 
glusterVolume.getStripeCount())
Line 52:                 || (glusterVolume.getBricks().size() == 1)) {
Line 53:             
addCanDoActionMessage(VdcBllMessages.ACTION_TYPE_FAILED_GLUSTER_VOLUME_BRICKS_ARE_NOT_DISTRIBUTED);
Line 54:             return false;
Line 55:         }
Right - will add the InMemoryLocking mechanism

And no, it's not possible to destroy/stop a volume while rebalance is in 
progress
Line 56:         return true;
Line 57:     }
Line 58: 
Line 59:     @Override


....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/StartRebalanceGlusterVolumeVDSCommand.java
Line 21:         task = glusterTaskReturn.getGlusterTask();
Line 22: 
Line 23:         //TODO : REMOVE TEMPORARY HACK
Line 24:         //task = new GlusterAsyncTask();
Line 25:         //task.setTaskId(Guid.NewGuid());
Done
Line 26:         setReturnValue(task);
Line 27:         ProceedProxyReturnValue();
Line 28:     }
Line 29: 


....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/IVdsServer.java
Line 210:             String[] bricks,
Line 211:             int replicaCount,
Line 212:             int stripeCount);
Line 213: 
Line 214:     GlusterTaskInfoReturnForXmlRpc glusterVolumeRebalanceStart(String 
volumeName, Boolean fixLayoutOnly, Boolean force);
The method names in this class is in sync with the vdsm verb, so will leave as 
is.
Line 215: 
Line 216:     StatusOnlyReturnForXmlRpc glusterVolumeReplaceBrickStart(String 
volumeName,
Line 217:             String existingBrickDir,
Line 218:             String newBrickDir);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaae7cf53bd77e9b717b268bcf0de91ba515af40c
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Ramesh N <rnach...@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