Yair Zaslavsky has posted comments on this change.
Change subject: engine : Fail tasks that dont have Vdsm Id
......................................................................
Patch Set 22: (2 inline comments)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddImageFromScratchCommand.java
Line 71: }
Line 72:
Line 73: protected boolean processImageInIrs() {
Line 74: Guid taskId =
persistAsyncTaskPlaceHolder(getParameters().getParentCommand());
Line 75: getReturnValue().getAsyncTaskIdList().add(taskId);
So once again - i am confused. do we need the getAsyncTaskIdList? we will need
to clarify why we need the two lists at the return value
Line 76:
Line 77: VDSReturnValue vdsReturnValue = runVdsCommand(
Line 78: VDSCommandType.CreateImage,
Line 79: new
CreateImageVDSCommandParameters(getParameters().getStoragePoolId(),
getParameters()
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcReturnValueBase.java
Line 16: private boolean _succeeded;
Line 17: private boolean _isSyncronious;
Line 18: private Object _returnValue;
Line 19: private String _description = "";
Line 20: private ArrayList<Guid> asyncTaskIdList = new ArrayList<Guid>();
Please elaborate here in comments why we need the two disks , and that
asyncTaskIdList refers to the task id (the db one).
Line 21: private ArrayList<Guid> taskIdList = new ArrayList<Guid>();
Line 22: private final ArrayList<Guid> _internalIdList = new
ArrayList<Guid>();
Line 23: private boolean _endActionTryAgain = true;
Line 24: private final ArrayList<String> _executeFailedMessages = new
ArrayList<String>();
--
To view, visit http://gerrit.ovirt.org/14368
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I110c483842027d1596f64dd8c3f635d62924a93f
Gerrit-PatchSet: 22
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches