Michael Kublin has posted comments on this change.

Change subject: core: Remove image while VDSM returns not exist.
......................................................................


Patch Set 1: I would prefer that you didn't submit this

(1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveDiskCommand.java
Line 294:             setLock(null);
Line 295:             if (vdcReturnValue.getSucceeded()) {
Line 296:                 getParameters().getImagesParameters().add(p);
Line 297:                 setSucceeded(vdcReturnValue.getSucceeded());
Line 298:                 if (vdcReturnValue.getInternalTaskIdList().isEmpty()) 
{
In this point, how I can understand that a list is empty or task was not 
created because of ImageDoesnptExist error or Network Error (call to vdsm fail) 
or failed to create a task because any other error (For example 
CanNotAcquireSanLock) ?
Line 299:                     // We get here if we got 
imageDoesNotExistsInDomain for the disk image from VDSM.
Line 300:                     endCommand();
Line 301:                 } else {
Line 302:                     
getReturnValue().getTaskIdList().addAll(vdcReturnValue.getInternalTaskIdList());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I36915c44e65e20e3ce222683650a562603e4bb05
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: liron aravot <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to